Change temporary directory

前端 未结 4 648
遥遥无期
遥遥无期 2020-11-27 13:58

I am using R on windows and need to change the temporary directory where tmp files are stored.

I checked a few answers, here, in R-help, etc., but no one is working

4条回答
  •  感动是毒
    2020-11-27 14:38

    Create a file called .Renviron in the directory given by Sys.getenv('R_USER') and save it with the line TMP = ''.

    write("TMP = ''", file=file.path(Sys.getenv('R_USER'), '.Renviron'))
    

提交回复
热议问题