Re: [R-pkg-devel] saving user preferences per workspace

2015-12-19 Thread Henrik Bengtsson
The CRAN Policies [https://cran.r-project.org/web/packages/policies.html] say: "- Packages should not write in the users’ home filespace, nor anywhere else on the file system apart from the R session’s temporary directory (or during installation in the location pointed to by TMPDIR: and such usage

Re: [R-pkg-devel] saving user preferences per workspace

2015-12-13 Thread Gábor Csárdi
Maybe you'll also find the 'rappdirs' package useful. Gabor On Sun, Dec 13, 2015 at 8:34 AM, Peter Meissner wrote: > Hey, > > as far as I understand it, it is not ok to do any writing to the filesystem > (except tempfiles) behind the back of the user - never ever (except on > installation). > >

Re: [R-pkg-devel] saving user preferences per workspace

2015-12-13 Thread Peter Meissner
Hey, as far as I understand it, it is not ok to do any writing to the filesystem (except tempfiles) behind the back of the user - never ever (except on installation). But what you can do is implement explicit functions to explicitly save and load options. Furthermore, you can tell the user, that

[R-pkg-devel] saving user preferences per workspace

2015-12-12 Thread Godfrey, Jonathan
Hello, I wish to offer users of my BrailleR package the ability to save their preferences, which may change by the workspace. I've toyed with the ideas: 1.saving a file in the corresponding folder; or, 2. creating an object containing all the settings in the workspace In eithe