Next: Manipulating the working directory
Up: Interacting with the Operating
Previous: Calling UNIX commands from
- Batch execution - start a job and then return immediately without
waiting for the job to finish
- >R CMD BATCH input.q output.txt #objects are saved automatically
- >Splus BATCH input.q output.txt
- Indirect execution - useful for running several jobs in series; starts
a job and waits for it to finish
- >R
--
{
save,no-save}
<input.q >output.txt
# R requires that you specify save or no-save with regard to the
objects created
- >Splus <input.q >output.txt
- Are my objects saved during these operations?
In Splus, your objects are saved. In fact, you can use the .Data
or .Data.hp directory in the interim, and you can even have
it open when the remote jobs finish, and I think Splus is smart about
still saving the objects from the remote operation, though you should
check this to be sure. In R, if you do the indirect execution, you
have to specify whether the objects should be saved.
Next: Manipulating the working directory
Up: Interacting with the Operating
Previous: Calling UNIX commands from
Chris Paciorek
2006-04-02