[R] Running R file from Command line.

chenxh007 chenxh007 at gmail.com
Thu Sep 13 06:51:36 CEST 2007


For example, you can use:

R CMD BATCH mean.R mean.Rout

Xiaohui

Vaibhav Gathibandhe wrote:
> Hi all,
> 
> Is there any way through which i can run a R file from Command line.
> 
> For example
> 
>> r mean.R
> 
> Thanks and Regards,
> Vaibhav Gathibandhe
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list