Re: [R] problem with --vanilla in R

From: Uwe Ligges <>
Date: Tue 04 Jul 2006 - 00:13:12 EST

Katrin Braesel wrote:
> Hallo,
> I'm using the R Version 2.3.0 (2006-04-24) on Suse Linux 10.1.
> With an older R and Linux version I could write a R-function into a file
> and execute it with the command:
> R --vanilla < script.r
> In the file script.r was code like this:
> postscript(file="results.eps")
> x<-2
> y<-3
> plot(x,y)
> It worked fine, but now nothing happens. In the manual page this option
> is still mentioned.
> I don't know what to do, to make it working again.

Works for me with R-2.3.1 using an appropriate shell.

Maybe you misspelled the filename or don't have write access? What happens after R --vanilla < script.r

BTW: I'd rather use R CMD BATCH, and I'd call the script script.R...

Uwe Ligges

> Thanks for your help.
> With kind regards,
> Katrin
> ______________________________________________
> mailing list
> PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Tue Jul 04 00:21:18 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 04 Jul 2006 - 02:14:52 EST.

Mailing list information is available at Please read the posting guide before posting to the list.