Re: [R] create library for own datasets

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue, 19 Feb 2008 12:10:14 -0500

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 <birgit.lemcke_at_systbot.uzh.ch> 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
> birgit.lemcke_at_systbot.uzh.ch
>
> 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_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.
>



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. Received on Tue 19 Feb 2008 - 17:12:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 17:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive