Skip to content
Back to formatted view

Raw Message

Message-ID: <1321108596989-4034548.post@n4.nabble.com>
Date: 2011-11-12T14:36:36Z
From: ftonini
Subject: Passing parameters
In-Reply-To: <1314309819568-3769532.post@n4.nabble.com>

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.