Displaying 20 results from an estimated 285 matches for "tempdirs".
Did you mean:
tempdir
2017 Apr 26
2
tempdir() may be deleted during long-running R session
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,
> * whatever tempdir harvesting cron job the user has be made sensitive enough not to delete open files (including open directories)
Good suggestion but doesn't work with the (increasingly popular)
2017 Apr 25
4
tempdir() may be deleted during long-running R session
>>>>> Dirk Eddelbuettel <edd at debian.org>
>>>>> on Sun, 23 Apr 2017 09:15:18 -0500 writes:
> On 21 April 2017 at 10:34, frederik at ofb.net wrote:
> | 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
> |
2017 Nov 09
3
check does not check that package examples remove tempdir()
I was looking at the CRAN package 'bfork-0.1.2', which exposes the Unix
fork() and waitpid() calls at the R code level, and noticed that the help
file example for bfork::fork removes R's temporary directory, the value of
tempdir(). I think it happens because the forked process shares the value
of tempdir() with the parent process and removes it when it exits.
This seems like a
2012 Feb 21
1
tempdir() documentation or real bug ?
?tempdir says
By default, ?tmpdir? will be the directory given by ?tempdir()?.
This will be a subdirectory of the temporary directory found by
the following rule. The environment variables ?TMPDIR?, ?TMP? and
?TEMP? are checked in turn and the first found which points to a
writable directory is used: if none succeeds ?/tmp? is used.
Unfortunately, it doesn't seem to
2011 Mar 18
1
[Patch suggestion] Adding 3rd arg to tempfile() to set extension
The other day I was working on an example which used tempfile() to create
file for use by the graphics device. And while I love tempfile()---as it is
portable and clever and the files get cleaned by R and all that---I noticed
one missing feature I would like to see: beside a starting name pattern, and
an optional directory, an 'file extension' argument would be nice to have.
As e.g. in
2017 Apr 26
0
tempdir() may be deleted during long-running R session
>>>>> <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,
>> * whatever tempdir harvesting cron job the user has be made
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,
>
2008 Oct 16
1
Rscript -e, Sweave and tempdir()
Hello R-Help
I have a question about the "behind the scenes" behaviour of the Rscript -e command and particularly its interaction with Sweave and tempdir().
We are trying to deploy R as a web service to do water quality analyses and have been writing software to call Sweave via Rscript eg:
cmd> Rscript -e Sweave('sweavefile.Rnw')
One problem we have been having is that
2011 Apr 12
2
parse_Rd raises error when example section contains a quoted percent character
I was writing Rd documentation for a new package when I came across
this issue. Here's the smallest example:
> library(tools)
> cat("\\examples{x <- '<%=rnorm(1)%>'}\n",file=file.path(tempdir(),'test.Rd'))
> readLines(file.path(tempdir(),'test.Rd'))
[1] "\\examples{x <- '<%=rnorm(1)%>'}"
>
2018 Apr 24
0
disappearing tempdir()
Recent versions of Windows will remove empty directories from areas that
Windows considers places for temporary files. It does not seem to matter
how old they are; empty directories are found and removred c. once a day.
I haven't seen any documentation on this feature but I think you can turn
if off by disabling "Storage Sense" in Settings>System>Storage.
This means that
2017 Apr 26
0
tempdir() may be deleted during long-running R session
I agree this should be solved in configuration of
systemd/tmpreaper/whatever tmp cleaner - the cleanup must be prevented
in configuration files of these tools. Moving session directories under
/var/run (XDG_RUNTIME_DIR) does not seem like a good 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
2005 Jul 08
4
Sweave resource leak: leftover temp files (PR#7998)
Harold, I've taken a closer look at your example and I'd call this an
Sweave bug. It creates tempfiles each time you run it, and doesn't
delete them at the end. For example:
> list.files(tempdir())
character(0)
> testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
> Sweave(testfile, out="junk.tex")
2017 Nov 09
2
check does not check that package examples remove tempdir()
I think recreating tempdir() is ok in an emergency situation, but package
code
should not be removing tempdir() - it may contain important information.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Nov 8, 2017 at 4:55 PM, Henrik Bengtsson <henrik.bengtsson at gmail.com
> wrote:
> Related to this problem - from R-devel NEWS
>
2008 Aug 29
2
Security issue with javareconf script (PR#12636)
Full_Name: Tom Callaway
Version: 2.7.2
OS: Fedora 10 (Linux/x86_64)
Submission from: (NULL) (96.233.67.230)
Recently, Debian identified a security issue with the javareconf script in R. I
confirmed that this is still unfixed in R 2.7.2.
The following patch resolves the issue:
diff -up R-2.7.2/src/scripts/javareconf.BAD R-2.7.1/src/scripts/javareconf
--- R-2.7.2/src/scripts/javareconf.BAD
2017 Apr 25
3
tempdir() may be deleted during long-running R session
>>>>> Jeroen Ooms <jeroenooms at gmail.com>
>>>>> on Tue, 25 Apr 2017 15:05:51 +0200 writes:
> On Tue, Apr 25, 2017 at 1:00 PM, Martin Maechler
> <maechler at stat.math.ethz.ch> wrote:
>> As I've found it is not at all hard to add an option
>> which checks the existence and if the directory is no
>>
2014 Jul 23
2
[LLVMdev] sys::path::system_temp_directory vs. sys::fs::createTemporaryFile
Hi, all. I noticed recently that llvm::sys::fs::createTemporaryFile does not use llvm::sys::path::system_temp_directory, instead relying on its platform-specific helper TempFile. Is there any reason for this disparity?
The two implementations are not in sync, either:
- TempDir honors TMPDIR, TMP, TEMP, TEMPDIR, and a configuration-settable P_tmpdir on Unix-y systems. system_temp_directory just
2017 Apr 26
1
tempdir() may be deleted during long-running R session
On 26/04/2017 10:39 AM, Tomas Kalibera wrote:
>
> I agree this should be solved in configuration of
> systemd/tmpreaper/whatever tmp cleaner - the cleanup must be prevented
> in configuration files of these tools. Moving session directories under
> /var/run (XDG_RUNTIME_DIR) does not seem like a good solution to me,
> sooner or later someone might come with auto-cleaning that
2017 Apr 25
0
tempdir() may be deleted during long-running R session
Chiming in late on this thread...
> > | Are there any packages which
> > | would break if a call to 'tempdir' automatically recreated this
> > | directory? (Or would it be too much of a performance hit to have
> > | 'tempdir' check and even just issue a warning when the directory is
> > | found not to exist?)
>
>
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
This is great. Thank you for your help, but let me make sure I fully
understand. Here is the looping file I use to subset the data frame,
create a tex file, and Sweave it. This results in N number of tex files
where N is equal to the number of rows in the data frame.
list <- unique(wide$stuid)
master = "master.tex"
for (i in list){
tmp1 <- subset(wide, stuid==i)
tmp2
2004 Jun 28
2
Unable to start R due to error with tempdir()
Hello,
I run R 1.9.1 on a Windows XP machine. In the last week, I have started to
get the following error message (about 85% of the time) when I attempt to
start R:
"Fatal error: cannot find unused tempdir name"
I get this message whether I attempt to start R in interactive or batch
mode.
Looking at the help-manual description of tempdir didn't provide me with
any obvious clues