Closed lyfranki closed 2 years ago
Not sure what would be the problem here. Are you using slurmR
in any way? BTW, it does seem you are restoring a previously saved environment. Try to get rid of the .RData
file located in the folder where your script is running.
Hi, When I run the R codes on the Linux, it works well. But when I ran R in batch mode on Linux, I always got the same error. The following are my .sh file, .R file and .out file. APSIM.out was created automatically. It shows that "Error in save.image(name) :", but I already told R not to save workspace "--vanilla". Do you have any suggestions about it? Maybe it is unrelated with Apsimx packages, but with R. Thanks!
APSIM.sh
APSIM.R
APSIM.out