[R] Passing parameters

ftonini f_tonini at hotmail.com
Sat Nov 12 15:36:36 CET 2011


Hi Annie,

The error is in the R script...you start reading with Args[1] but instead
you should start with Args[5] etc. because (I believe) that R --slave
--vanilla --args count as
                                [1]   [2]        [3]        [4]

Therefore, Args[5] it's the first argument you use...try that and let me
know!!
I am trying something similar for one of my scripts

Francesco


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



More information about the R-help mailing list