From romain.francois at dbmail.com  Thu Mar  5 17:02:59 2009
From: romain.francois at dbmail.com (Romain Francois)
Date: Thu, 05 Mar 2009 17:02:59 +0100
Subject: [Rd] persistence of data
Message-ID: <49AFF7B3.9000807@dbmail.com>

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



[Rd] persistence of data
Romain Francois