[R] Passing command line parameters to a script

Xiaohui chenxh007 at gmail.com
Tue Mar 6 09:17:20 CET 2007


Does system("command -arguments") works for you?

Xiaohui

akintayo holder wrote:
> Hi,
>  Does any one know if it is possible to create an R script that can use
> command line parameters. I can execute an R script from the command line,
> but I  cannot figure out how to pass parameters to the script. The only
> resources I have found seem somewhat involved or incomplete.
>
> Any help is appreciated.
> Akintayo
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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