[R] How can I use R through command line?

Dieter Menne dieter.menne at menne-biomed.de
Wed Apr 1 10:30:07 CEST 2009


minben <minbenh <at> gmail.com> writes:

> 
>  Suppose I have written a R program and saved it in test.R . How can I
> call the program in the command line?

Assuming Windows (might work under linux)

rterm --vanilla --no-save < myrfile.r

Dieter




More information about the R-help mailing list