Thank you for your response.
Yes, using a call to data() after 1) building and 2) installing my own
package is exactly what I'm trying to accomplish. I am building a package.
I would like to load the data objects that are part of the custom package
that I have created and installed on my machine
On 28.03.2011 17:49, andrew stewart wrote:
Thank you for your response.
Yes, using a call to data() after 1) building and 2) installing my own
package is exactly what I'm trying to accomplish. I am building a package.
I would like to load the data objects that are part of the custom package
On 24.03.2011 16:51, andrew stewart wrote:
Hello all,
I have,say 4 R objects... bar1, bar2, bar3, bar4.. that I'd like to include
in an R package "foobar".
The desired functionality would be:
library(foobar)
data(foo)
ls()
[1] "bar1" "bar2" "bar3" "bar4"
I've tried the following two appr
Hello all,
I have,say 4 R objects... bar1, bar2, bar3, bar4.. that I'd like to include
in an R package "foobar".
The desired functionality would be:
> library(foobar)
> data(foo)
> ls()
[1] "bar1" "bar2" "bar3" "bar4"
I've tried the following two approaches:
1) I created the file 'datalist' u