[Rd] persistence of data

Romain Francois romain.francois at dbmail.com
Thu Mar 5 17:02:59 CET 2009


Hello,

I am developing a package that needs data to persist between sessions of 
R (For example a sqlite database file, or simple dumps of R data with 
save/load). What I am using so far is :

file.path( Sys.getenv( "HOME"), ".R", "myPackage" )

but I was wondering if I am missing an "official" way to do this, 
similar to system.file does for installed packages. I am aware of the 
inst directory but this does not solve the problem in cases where the 
library is read only.

Romain

-- 
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr



More information about the R-devel mailing list