[R] Writing R Library
Douglas Bates
bates at stat.wisc.edu
Sat Aug 25 15:45:01 CEST 2001
Ko-Kang Kevin Wang <kwan022 at stat.auckland.ac.nz> writes:
> I'm trying to write an R library (for Windows version) when I encountered
> this problem.
>
> I put in a dataset called mussels into a sub-folder, data (I saw this is
> how it is done in other libraries). However when I load the library in R
> and typed:
> data(mussels)
> it complains it cannot find the data set in the library.
>
> Everything else works fine (so far), am I missing something here?
A quick way of getting an R package started is to use the R function
package.skeleton. See its documentation - it is easy to use.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list