?.First.lib
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [email protected] 801.408.8111 > -----Original Message----- > From: [email protected] [mailto:r-help-boun...@r- > project.org] On Behalf Of Johannes Graumann > Sent: Wednesday, October 20, 2010 6:39 AM > To: [email protected] > 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 > > ______________________________________________ > [email protected] 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. ______________________________________________ [email protected] 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.

