Skip to content
Prev 318239 / 398503 Next

Issues with TMPDIR/TEMP/TMP? Failure of R CMD check under Windows 7

Am 24.02.2013 22:14, schrieb Duncan Murdoch:
Actually, I can't start R any more (Error: mkdir R_TempDir does not 
work). And it appears that changing the TEMP and TMP environment 
variables in Windows does not really affect the choice of TempDir in R ? 
Yesterday, the complaint was always related to a random directory name 
within the default temporary directory, and there are many such 
directories in that path (I would have thought that these are deleted 
when shutting the machine down, but apparently the are not), so there 
must have been write permission in there once. Today everything is 
different, perhaps because of something I did yesterday but don't 
remember any more.

If all else fails, I suppose the fastest thing may be a complete 
re-install of R.

Best, Ulrike