[R] how to save an updated dataset

jbryer jason at bryer.org
Wed Sep 2 17:39:08 CEST 2009


I too am looking to do the same thing. Anyone have any insight as to this can
be done?

Thanks,
Jason



Chris Stubben wrote:
> 
> 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-tp17782584p25260034.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list