Re: [Rd] Data package questions

From: Claudia Beleites <>
Date: Fri, 10 Jun 2011 13:33:12 +0200

Dear Paul,

> In process of creating data package from an existing one.
> The current package has both raw data files and the associated
> RData objects created from them. Currently, the data subdirectory
> is 1.5Mb and the extdata is 5.4Mb.
> Never having created a data package before, how is this best
> done? Should the data package contain only the raw data, or
> the RData objects too (tightly coupled)? If the later, what
> (if anything) is added to the DESCRIPTION meta-information
> to denote the dependency? Should both packages suggest each
> other?

I have one data set that I ship as a few principal components and reconstruct it by a function. The result is then assigned to the exported variable by delayedAssign.

That way, you'd need to ship the raw data only, but can provide a ready-to-use R object as well.

For my example data, I don't ship the raw data as it is too big (30 MB toy example is really unpolite on CRAN), but I provide it at r-forge and give the link on the help page and in the vignette.


Claudia Beleites
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena

phone: +49 3641 206-133
fax:   +49 2641 206-399

______________________________________________ mailing list
Received on Fri 10 Jun 2011 - 11:37:14 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Fri 10 Jun 2011 - 12:40:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive