Re: [Rpy] initr() creates tempdir

2011-09-25 Thread Laurent Gautier
Hi, This is now fixed at the low-level (C) interface level. The fix is part of the bugfix-release 2.2.3. L. On 2011-09-22 08:12, Laurent Gautier wrote: > On 2011-09-22 00:08, Christian Marquardt wrote: >> Laurent, >> >> is there an example for such a custom cleaner somewhere, or a >> documenta

Re: [Rpy] initr() creates tempdir

2011-09-22 Thread Laurent Gautier
On 2011-09-22 20:33, Christian Hudon wrote: > On 09/21/11 17:17, Laurent Gautier wrote: >> R itself _does_ create a temp directory each time it starts. > You are indeed correct. I had missed that, because I hadn't looked while > R was running. > >> Rpy2 has placeholders for custom callback cleaners

Re: [Rpy] initr() creates tempdir

2011-09-22 Thread Christian Hudon
On 09/21/11 17:17, Laurent Gautier wrote: > R itself _does_ create a temp directory each time it starts. You are indeed correct. I had missed that, because I hadn't looked while R was running. > > Rpy2 has placeholders for custom callback cleaners, and it might > interfere with the default cleanu

Re: [Rpy] initr() creates tempdir

2011-09-21 Thread Laurent Gautier
On 2011-09-22 00:08, Christian Marquardt wrote: > Laurent, > > is there an example for such a custom cleaner somewhere, or a documentation > on the interface? For rpy2, the documentation is currently the unit tests (this is tested) and the (C) source (grep for "cleanup"). Since this is mostly a

Re: [Rpy] initr() creates tempdir

2011-09-21 Thread Christian Marquardt
Laurent, is there an example for such a custom cleaner somewhere, or a documentation on the interface? Also, is it possible to obtain the path to the temporary R directory on the python side in order not to delete temporary directories of other, parallel R sessions? I've come across the same is

Re: [Rpy] initr() creates tempdir

2011-09-21 Thread Laurent Gautier
R itself _does_ create a temp directory each time it starts. Rpy2 has placeholders for custom callback cleaners, and it might interfere with the default cleanup made by an R console; this is currently a little-used (and little-documented) features and I can't tell with looking more into it. You

[Rpy] initr() creates tempdir

2011-09-21 Thread Christian Hudon
Hi, I'm running a server process that uses rpy2, on a VM with limited disk space. Every time the process is restarted, a Rtmp directory is created under /tmp. (Example name for the directory: "RtmpFThW0A"... this looks similar to the result of calling the R tempdir() function.) This is a problem f