Re: [R] Command line option to an R script running through Rscript

2009-08-19 Thread David Winsemius
On Aug 19, 2009, at 9:21 PM, Peng Yu wrote: Hi, I know that I can use the following script to get the command line options for an R script. But the output shows two many irrelevant That would be "too many". arguments. For example, I only want to pass "a", "b" and "c" to the script. The fir

[R] Command line option to an R script running through Rscript

2009-08-19 Thread Peng Yu
Hi, I know that I can use the following script to get the command line options for an R script. But the output shows two many irrelevant arguments. For example, I only want to pass "a", "b" and "c" to the script. The first 5 elements in the variable 'args' are not what I want. I am wondering what