[Rd] package post install instructions

Romain Francois romain.francois at dbmail.com
Fri Jul 3 10:27:19 CEST 2009


A somewhat related question. Can one install a hook to be called when 
__any__ package is loaded. Something like this :

setHook(packageEvent(".*", "onLoad"),
              function(...) grDevices::ps.options(horizontal=FALSE))

Romain

On 07/02/2009 09:38 AM, Romain Francois wrote:
>
> Hello,
>
> I've looked in tools:::.install_packages for some sort of hook that
> would let packages developers point to further instructions after a
> package is installed. For example, some packages need to setup
> environment variables, ...
>
> Is there something I have missed ?
>
> Romain


-- 
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/qJ8V : RGG#153: stars network
|- http://tr.im/qzSl : using ImageJ from R: the RImageJ package
`- http://tr.im/qzSJ : with semantics for java objects in rJava



More information about the R-devel mailing list