search for: tmp_cleaner_trap

Displaying 3 results from an estimated 3 matches for "tmp_cleaner_trap".

2017 Apr 26
1
tempdir() may be deleted during long-running R session
...oner or later someone might come with auto-cleaning that directory too. > > It might still be useful if R could sometimes detect when automated > cleanup happened and warn the user. Perhaps a simple way could be to > always create an empty file inside session directory, like > ".tmp_cleaner_trap". R would never touch this file, but check its > existence time-to-time. If it gets deleted, R would issue a warning and > ask the user to check tmp cleaner configuration. The idea is that this > file will be the oldest one in the session directory, so would get > cleaned up first....
2017 Apr 26
6
tempdir() may be deleted during long-running R session
On 26/04/2017 4:21 AM, Martin Maechler wrote: >>>>>> <frederik at ofb.net> >>>>>> on Tue, 25 Apr 2017 21:13:59 -0700 writes: > > > On Tue, Apr 25, 2017 at 02:41:58PM +0000, Cook, Malcolm wrote: > >> Might this combination serve the purpose: > >> * R session keeps an open handle on the tempdir it creates, >
2017 Apr 26
0
tempdir() may be deleted during long-running R session
...d solution to me, sooner or later someone might come with auto-cleaning that directory too. It might still be useful if R could sometimes detect when automated cleanup happened and warn the user. Perhaps a simple way could be to always create an empty file inside session directory, like ".tmp_cleaner_trap". R would never touch this file, but check its existence time-to-time. If it gets deleted, R would issue a warning and ask the user to check tmp cleaner configuration. The idea is that this file will be the oldest one in the session directory, so would get cleaned up first. Tomas On 04/...