[R] how to save an updated dataset

From: Chris Stubben <stubben_at_lanl.gov>
Date: Wed, 11 Jun 2008 10:04:07 -0700 (PDT)

I wrote a package which includes a number of genome sequencing project statistics on the web like http://www.ncbi.nlm.nih.gov/genomes/lproks.cgi. I included some generic functions to summarize, plot, and update the tables with the most recent version

data(lproks)
update(lproks)
 [1] "lproks successfully updated, 7 new genomes added"

I usually save the dataset back to my package data directory...

save(lproks, file="/path/to/genomes/data/lproks.rda")

but I may one day put the package on CRAN (or BioConductor), so now I need to know where the package/data directory is located, if the user has permission to save to that directory, and probably some other complications I'm missing. Any suggestions?

Thanks,
Chris Stubben

-- 
View this message in context: http://www.nabble.com/how-to-save-an-updated-dataset-tp17782584p17782584.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 11 Jun 2008 - 17:39:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 11 Jun 2008 - 18:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive