Displaying 1 result from an estimated 1 matches for "skoiejo".
Did you mean:
skiego
2012 Mar 08
2
Cannot change location of tempdir()
...ectory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Sys.setenv(). In a fresh R-session:
> Sys.getenv("TMP")
[1] "C:\\Users\\skoiejo\\AppData\\Local\\Temp"
> Sys.setenv(TMP = "e:\\Temp\\Rtmp")
> Sys.getenv("TMP")
[1] "e:\\Temp\\Rtmp"
> tempfile()
[1] "C:\\Users\\skoiejo\\AppData\\Local\\Temp\\Rtmp2tvQ7U\\file499a5987"
# I have also tried to change "TMPDIR", &qu...