[R] Passing aruments with source

Joel joda2457 at student.uu.se
Wed Sep 8 11:11:59 CEST 2010


Hi.

Im writing a small test program just to see how passing arguments work with
R.
>From the command line everything works as expected but from inside R using
source("test.R") i dont know where and how to send in the arguments did try
source("test.R --test") but it just says that it cant find or open the file.
(without the argument part it can).

Anyone know how to make it work?

//Joel Damberg
-- 
View this message in context: http://r.789695.n4.nabble.com/Passing-aruments-with-source-tp2531012p2531012.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list