[R] Loading Rdata files in a Package

2010-07-25 Thread Andrew Leeser
I have an .Rdata file saved in my data folder in a package I created. However, when I use the data() function it doesn't recognize that there any dataset exists within the package. Is there anything specific I need to do such that the data() function will load my dataset? Thanks in advance,

Re: [R] Loading Rdata files in a Package

2010-07-25 Thread Charles C. Berry
On Sun, 25 Jul 2010, Andrew Leeser wrote: I have an .Rdata file saved in my data folder in a package I created. However, when I use the data() function it doesn't recognize that there any dataset exists within the package. Is there anything specific I need to do such that the data() function

Re: [R] Loading Rdata files in a Package

2010-07-25 Thread Prof Brian Ripley
From ?data 2. files ending ‘.RData’ or ‘.rda’ are ‘load()’ed. '.Rdata' (l/c 'd') files are not supported (although on case-insensitive file systems they will work in _some_ circumstances, but only some. Without the sessionInfo() output we asked for in the posting guide, we can only