Re: [R] passing a variable at the command line

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Tue, 01 Jul 2008 19:17:04 -0500

Hi Erin,

On Tue, 1 Jul 2008 18:49:02 -0500,
"Erin Hodgess" <erinm.hodgess_at_gmail.com> wrote:

> Dear R People: I have used

> ./R --no-save -q -f e.in >stuff.out

> with great success on SUSE10.1 with R-2.7.1.

> My question is, please: is there a way to pass in a variable to the
> e.in file? I'm fairly sure that the answer is no, but thought I'd
> double check.

Have a look at Rscript (included in R) or littler (a separate package) for scripting? I really like the latter.

-- 
Seb

______________________________________________
R-help_at_r-project.org 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 Wed 02 Jul 2008 - 00:21:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Jul 2008 - 01:31:15 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.

list of date sections of archive