From ripley at stats.ox.ac.uk  Tue Mar 28 18:04:07 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 28 Mar 2006 17:04:07 +0100 (BST)
Subject: [Rd] How to set options() when a package without a name space
 is loaded?
In-Reply-To: <59d7961d0603280718k624b2336w1433400a7cd3cb3@mail.gmail.com>
References: <59d7961d0603280718k624b2336w1433400a7cd3cb3@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0603281702480.1639@gannet.stats.ox.ac.uk>

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



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