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