?.First.lib
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Johannes Graumann
> Sent: Wednesday, October 20, 2010 6:39 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Function execution on package load?
>
> Hi,
>
> Can anyone give me a pointer on howto make a package execute a function
> at
> loading?
>
> Following an older post (http://bit.ly/cS1Go4), I'd like to do
> something
> along the lines of
>
> > .localstuff <- new.env()
> > .localstuff$OftenUsedData <- read.csv(...)
>
> upon loading the package ...
>
> Thanks, Joh
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.