I am working on my data science work on a linux server but I know very little about linux. When I submit my Rscript I got this Error:
Fatal error: cannot create 'R_TempDir'
However, I can directly open R like this:
[xxx@x xxx]$ R
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
Here is some more information:
[xxx@x xxx]$ df -lh /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/os_vg-lvTmp
9.8G 52M 9.2G 1% /tmp
Could you please kindly give me the detailed instructions on how to fix this fatal error? Since I am really puzzled about how the system work or not work. Thanks a lot!