[R] about .RData

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Nov 8 15:37:45 CET 2003


Shuangge Ma wrote:

> Dear Sir/Madam:
> I got a question about this .RData.
> 
> I wrote a R program and run it with:
> nohup R BATCH a.R &
> in Unix system.
> 
> However, each time it generate a .RData file, which is huge.
> I add "remove" to my code, but this .RData is still there.
> 
> My question is: how can I avoid this .RData file automatically?

R BATCH --help

tells you:

"Further arguments starting with a '-' are considered as options as long
as '--' was not encountered, and are passed on to the R process, which
by default is started with '--restore --save --no-readline'."

so what about specifying --no-save as in
nohup R BATCH --no-save a.R &
?

Uwe Ligges




More information about the R-help mailing list