From dmurdoch at pair.com  Mon Jul 12 19:35:26 2004
From: dmurdoch at pair.com (dmurdoch@pair.com)
Date: Mon Jul 12 19:35:30 2004
Subject: [Rd] Segfault with options() (PR#7078)
Message-ID: <20040712173526.5A95FEAC4@slim.kubism.ku.dk>

On Mon, 12 Jul 2004 18:54:22 +0200 (CEST), deepayan@stat.wisc.edu
wrote :

>Should options( mylist ) work at all?

Yes, that's used fairly often in the pattern

 save <- options( <something new> )
 on.exit(options(save))

>  It's not documented, at least not 
>in ?options.  Is that a documentation oversight?

Looks like it.  ?par, which uses similar syntax, documents ... as

     ...: arguments in 'tag = value' form, or a list of tagged values.
          The tags must come from the graphical parameters described
          below.

as opposed to ?options, which leaves off the "or a list" part.

Duncan Murdoch


[Rd] Segfault with options() (PR#7078)
dmurdoch@pair.com