[R] Urgent help requested to modify a script

Romain Francois
Fri, 16 Oct 2009 12:03:57 -0000

On 10/16/2009 02:01 PM, one2luv wrote:
> I am hoping someone will tak up this chalenge (I am new to R)
>
> I have inheritied an R script but need to change it. The script currently
> includes hardcoded file locations on lines 12,166 and 167. I need to modify
> this script to allow the folder to be passed as a command line argument to
> Rscript.exe
>
> Can anybody help please?
>
> Regards,
>
> Ian
>
> http://www.nabble.com/file/p25924237/My_script.R My_script.R

?commandArgs

--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #50000
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
`- http://tr.im/yw8E : New R package : sos