Re: [R] Autorun when library("xxx") is called

2012-10-18 Thread R. Michael Weylandt
? .onAttach ? .onLoad at slightly different points in the load process. Cheers, Michael On Wed, Oct 17, 2012 at 10:12 PM, Marc Girondot wrote: > Dear List Member > > Is there a mechanism to automatically run a piece of R code when a package > is loaded using library("xxx") ? Preferentially that

[R] Autorun when library("xxx") is called

2012-10-17 Thread Marc Girondot
Dear List Member Is there a mechanism to automatically run a piece of R code when a package is loaded using library("xxx") ? Preferentially that piece of R code should be located inside the package. I would like that this piece of code checks on a server if an update is available just at the t