[Rd] How to set options() when a package without a name space is loaded?

Henrik Bengtsson hb at maths.lth.se
Tue Mar 28 17:18:34 CEST 2006


Hi,

how do I set options() when loading a package *without* a name space? 
Is it possible?

I though this one was a common question, but I could not find it in
the FAQ, in the help nor in the r-help/r-devel archives.  Section
1.6.3 on "Load hooks" in "Writing R Extensions" says that this should
be done using the .onLoad hook, but that does only apply to packages
name spaces, cf. ?.onLoad

Thanks

Henrik



More information about the R-devel mailing list