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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to