Hi,
See: ?system.file
-steve
On Sep 2, 2009, at 11:39 AM, jbryer wrote:
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.
______________________________________________
R-help@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.
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
______________________________________________
R-help@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.