On 09/07/2018 04:15 AM, Alexandre Courtiol wrote:
<SNIP>
you could:
1. directly write and then read elements in the (hidden) list .Options that
is present in the global environment:
<SNIP>
Point of order Mr. Chairman (and I'm pretty sure it doesn't matter a
damn) but (on my system at least) .Options is created in the *base*
package, not in the global environment.
E.g.:
# Freshly started R session.
> find(".Options")
[1] "package:base"
> options(mung="gorp")
> find(".Options")
[1] "package:base"
> options("mung")
$mung
[1] "gorp"
> .Options$mung
[1] "gorp"
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel