You might want to look at the datasets package as an example: https://svn.r-project.org/R/trunk/src/library/datasets/
The other way is to save() them in an .rda file and then just load() the file. On Feb 19, 2008 10:20 AM, Birgit Lemcke <[EMAIL PROTECTED]> wrote: > I am using the recent R version on a G4 PowerBook with Mac OS X 10.4.11. > > I have a bunch of datasets that I would like to put all together in a > R library, so that I only have to type: > >library("name") > and all datasets are loaded. Is this like building a package or is > there an easier way to do that? > > Thanks in advance for your help. > > B. > > Birgit Lemcke > Institut für Systematische Botanik > Zollikerstrasse 107 > CH-8008 Zürich > Switzerland > Ph: +41 (0)44 634 8351 > [EMAIL PROTECTED] > > 175 Jahre UZH > «staunen.erleben.begreifen. Naturwissenschaft zum Anfassen.» > MNF-Jubiläumsevent für gross und klein. > 19. April 2008, 10.00 Uhr bis 02.00 Uhr > Campus Irchel, Winterthurerstrasse 190, 8057 Zürich > Weitere Informationen www.175jahre.uzh.ch > > ______________________________________________ > 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.