[R] how to save an updated dataset

Chris Stubben stubben at lanl.gov
Wed Jun 11 19:04:07 CEST 2008


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.



More information about the R-help mailing list