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

From: <dmurdoch_at_pair.com>
Date: Tue 13 Jul 2004 - 03:35:26 EST


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



R-devel@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel Received on Tue Jul 13 03:56:17 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:02 EST