R-alpha: batch

Peter Dalgaard BSA p.dalgaard@kubism.ku.dk
12 Nov 1997 11:57:14 +0100


Jim Lindsey <jlindsey@luc.ac.be> writes:

>   When is the default going to be changed to not saving the .RData in
> batch mode???? Does anyone use batch mode except me?

One rather nasty thing to consider is that interactivity is (as I
understand it) detectable only by the existence of a controlling
terminal. This can cause trouble with cases where the controlling
terminal disappears, one case being upon logout from the windows
system or a system shutdown. Presumably, most people prefer their work
to be saved in those cases.

What might be a much better idea is to make the saving (and loading
too) of .Rdata into command line options, so that

R BATCH filein fileout

would translate into 

R -nosaveimg -noloadimg < filein > fileout

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=