Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread frederik
Hi Mikko, I was bitten by this recently and I think some of the replies are missing the point. As I understand it, the problem consists of these elements: 1. When R starts, it creates a directory like /tmp/RtmpVIeFj4 2. Right after R starts I can create files in this directory with no error

Re: [Rd] Intel MKL compiling issue

2017-04-21 Thread Cohn, Robert S
> I would appreciate any insights over compiling R 3.4 with Intel MKL -- I have > been successful until R 3.3.3 but now it stops complaining about pcre though > it worked without Intel MKL as follows, I successfully built R-rc_2017-04-19_r72555.tar.gz with icc & MKL on centos 7 with this: # h

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Dirk Eddelbuettel
On 21 April 2017 at 15:13, Mikko Korpela wrote: | Despite my obvious failure to read the manual and report this properly, | I will try to make a case. I understand that data stored in a temporary | file may disappear, and for that reason using an alternative TMPDIR | might be advisable. However

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
On 21/04/17 14:42, Joris Meys wrote: In defense of the OP: I would have checked ?tmpdir and missed the information in the manual as well. On the help page there's ample information on the underlying processes that create the dir on multiple platforms. I think adding the last two sentences of prof

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
On 21/04/17 14:03, Prof Brian Ripley wrote: From the R-admin manual §5: 'Various environment variables can be set to determine where R creates its per-session temporary directory. The environment variables TMPDIR, TMP and TEMP are searched in turn and the first one which is set and points to a w

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Joris Meys
In defense of the OP: I would have checked ?tmpdir and missed the information in the manual as well. On the help page there's ample information on the underlying processes that create the dir on multiple platforms. I think adding the last two sentences of prof. Ripley's quote as a warning to the he

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Prof Brian Ripley
From the R-admin manual §5: 'Various environment variables can be set to determine where R creates its per-session temporary directory. The environment variables TMPDIR, TMP and TEMP are searched in turn and the first one which is set and points to a writable area is used. If none do, the fina

[Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Mikko Korpela
Temporary files not accessed for a long time are automatically removed in some Linux distributions and probably other operating systems too, depending on system configuration. This may affect the per-session temporary directory, the path of which is returned by tempdir(). I think it would be ni

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-04-21 Thread Andrzej Oleś
Great, thanks Michael for you quick response! I started off with a question on SO because I was not sure whether this was an actual bug or I was just missing something obvious. I'm looking forward to the patch. Cheers, Andrzej On Thu, Apr 20, 2017 at 10:28 PM, Michael Lawrence < lawrence.mich..