[Rd] Segfault with options() (PR#7078)

dmurdoch at pair.com dmurdoch at pair.com
Mon Jul 12 19:35:26 CEST 2004


On Mon, 12 Jul 2004 18:54:22 +0200 (CEST), deepayan at 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



More information about the R-devel mailing list