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

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 28 18:04:07 CEST 2006


BTW, sections in .texi manuals do not have numbers, so please use the 
node name.

You can use .First.lib.


On Tue, 28 Mar 2006, Henrik Bengtsson wrote:

> 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
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list