[R] Creating a R-package in R-Studio

Duncan Murdoch murdoch.duncan at gmail.com
Wed Jan 29 20:58:09 CET 2014


On 29/01/2014 2:49 PM, Kulupp wrote:
> Dear R-help community,
>
> I am creating my first R-package in RStudio and wanted to add datasets
> to the package. I added an .RData file containing data (a data frame) in
> the 'data' folder of the package and could load the data as usual by
> typing in the console: data(xyz). Then I added a .RData file (a list)
> and could not load the data. Can anybody explain how I could make data
> available in my package that are saved as a list? Thanks a lot in
> anticipation.

RStudio likely has nothing to do with this, unless you used it somehow 
to create those .RData files.

The question is:  how were they created?  Unless we know that, we can't 
help.

Duncan Murdoch




More information about the R-help mailing list