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.
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.
Reasonably Related Threads
- reading tables from url
- download.file() on ftp URL fails in windows with default download method
- download.file() on ftp URL fails in windows with default download method
- download.file() on ftp URL fails in windows with default download method
- problem post request with RCurl