[R] R BATCH script & reading command line options à la argc() & argv()
Rik Bradt
cropdesign at xs4all.be
Sun Feb 24 18:53:28 CET 2002
Hello,
I'm writing a R BATCH script on linux that connects to a MS-sqlserver to
fetch its data (=cross-platform).
After the processing in R it does updates in the MS-sqlserver.
I want to be able to pass parameters to the R BATCH script to control which
data it has to process.
Is is possible to read the command line parameters passed to R in a BATCH
script?
I've found the function commandArgs( ), but this doesn't do the job...
Is there a possibility to use c-style argc( ) and argv( ) functions?
Regards,
Rik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020224/87c84a1d/attachment.html
More information about the R-help
mailing list