Re: [Rd] datalist and data objects in R Package building

2011-03-28 Thread andrew stewart
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

Re: [Rd] datalist and data objects in R Package building

2011-03-28 Thread Uwe Ligges
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

Re: [Rd] datalist and data objects in R Package building

2011-03-28 Thread Uwe Ligges
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

[Rd] datalist and data objects in R Package building

2011-03-25 Thread andrew stewart
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