[R] data in packages... a list?

Douglas Bates bates at stat.wisc.edu
Tue May 22 23:00:20 CEST 2007

On 5/22/07, Adrian Dusa <dusa.adrian at gmail.com> wrote:
> Dear all,

> Is it possible to add a list in the data folder when creating a new package?


> In other words, is data in packages restricted to data.frame only?

Well section 1.1.3 of the manual "Writing R Extensions" say, in part,
"Currently, data files can have one of three types as indicated by
their extension ..." so the answer to your question is no.  Perhaps
reading that section of the manual will help. (Hint: you want to
create an R expression that returns the list you want.)

More information about the R-help mailing list