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

2008-07-02 Thread Luke Tierney
commandArgs may do what you want. Best, luke On Tue, 1 Jul 2008, Erin Hodgess 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

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

2008-07-01 Thread Dirk Eddelbuettel
On 1 July 2008 at 18:49, Erin Hodgess wrote: | 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 | dou

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

2008-07-01 Thread Marc Schwartz
on 07/01/2008 06:49 PM Erin Hodgess 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

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

2008-07-01 Thread Sebastian P. Luque
Hi Erin, On Tue, 1 Jul 2008 18:49:02 -0500, "Erin Hodgess" <[EMAIL PROTECTED]> 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 fairl

[R] passing a variable at the command line

2008-07-01 Thread Erin Hodgess
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. Thanks in advance, Sincerely, Erin