Re: [R] Passing object value in command line

2014-10-15 Thread MacQueen, Don
Don¹t know exactly what you mean by ³passing the value of Mon from the command prompt², but it could be At the R prompt: > Mon <- ¹31-may-2014¹ > source(mainCall.R) If, on the other hand, you mean shell prompt, then within R see ?commandArgs On 10/15/14, 11:21 AM, "Abhinaba Roy" wrote: >Hi

Re: [R] Passing object value in command line

2014-10-15 Thread Jeff Newmiller
There is this great document called the R Reference that comes with the software in which you can search for "command" and find the answer. There is also a useful function called apropos that can search the help files from the R prompt. Try apropos("command"). There is also a manual for this ma