Hi there,
I am trying to find an example how to use Rscript
Let's suppose I want to pass 3 arguments (I don't want [options] and -e
[expressions] as described in help) 

*on the command line
myRscript.R -arg1=value1 -arg2=value2 -arg3=value3

*In the script
#! /path/to/Rscript
args = commandArgs(TRUE);

>From what I see args is just a string, do I do things correctly ?

--
View this message in context: 
http://r.789695.n4.nabble.com/Rscript-example-tp4436130p4436130.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to