[R] run R under linux

Zhen Pang nusbj at hotmail.com
Tue Oct 21 13:42:50 CEST 2003


We are not allowed to submit job directly, so I never type R to use R, just 
make a batch. How can I use try() to correct my codes? In the interactive 
mode, I know how to continue, but now I never enter the R window, where to 
find my results and save seed to continue?



>From: Jason Turner <jasont at indigoindustrial.co.nz>
>To: Zhen Pang <nusbj at hotmail.com>
>CC: R-help at stat.math.ethz.ch
>Subject: Re: [R] run R under linux
>Date: Tue, 21 Oct 2003 22:17:59 +1300
>
>Zhen Pang wrote:
>>I want to do 200 simulations. I found during the fisrt 128 simulations, 
>>some parameters may be NAs, since I use if (abs(aold-anew)<1e-5) {print 
>>(anew)  break} to break the one estimation.
>...
>  > I want to know how to resume my program with the seeds saved, and do
>>like continueing the 130th one without break. If possible, the results of 
>>the first 128 simulations can be saved and combine with the remaining 
>>simulation.
>
>help(try)
>
>Cheers
>
>Jason
>--
>Indigo Industrial Controls Ltd.
>http://www.indigoindustrial.co.nz
>64-21-343-545
>jasont at indigoindustrial.co.nz
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list