Re: [R] command-line arguments in R

From: talepanda <talepanda_at_gmail.com>
Date: Mon 22 Jan 2007 - 08:10:15 GMT

see:
?commandArgs

or more detail for R startup mechanisms: ?Startup

On 1/22/07, Deepak Chandra <dchandra@ics.uci.edu> wrote:
> Hi All,
>
> A simple and naive question from a newbie. How can one access command-line
> arguments in R i.e. equivalent of argv in C?
> Have spent a lot of time on finding it. Also, it will be useful if someone
> can point me out to a resource which I could have used to answer this
> question or similar ones.
>
>
> Thanks,
> Deepak
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Jan 22 19:16:12 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 22 Jan 2007 - 08:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.