Dear list members,
i am running some R scripts non interactively on a remote cluster. In case of an
error this cluster terminates the R job and only sends me some messages.
Is there any way to save the workspace before this job is terminated to retrieve
some information on why the error is caused?
I have tried to run this test job in a non interactive mode, but had no success
(the a[b] command is added to cause the error!):
.Last = function()
save.image()
a=1:10
a[b]
The code was run by:
R --vanilla < test.R
Any suggestions?
Jannis