Re: [R] save workspace while running R on a cluster

2008-06-16 Thread Manisha Brahmachary
Thanks your suggestion works -:-) From: milton ruser [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 2:42 PM To: Manisha Brahmachary Cc: r-help@r-project.org Subject: Re: [R] save workspace while running R on a cluster Hi Manisha, How about you

[R] save workspace while running R on a cluster

2008-06-12 Thread Manisha Brahmachary
Hello, I have a question about running R in a cluster environment. The shell script I am running looks like this: #!/bin/bash cd /nfs/apollo/2/c2b2/users/mb0001/Data /nfs/apollo/1/shares/software/core_facility/local/x86_64_rocks/R/current/bin/ R --save calculate.R script.out I have

Re: [R] save workspace while running R on a cluster

2008-06-12 Thread milton ruser
Hi Manisha, How about you incluse something like this on your script.R: setwd(/your/full/working/directory) # ?setwd save.image()# or save.image(your_workspace.RDA). By the way, I donĀ“t know if you added the line below to run in background: R --save calculate.R script.out May be the