Do you know to pass named command line arguments into an R script?
I have used littler and argv to pass a vector of arguments, but this
requires you to maintain the order of the arguments.
I'm wondering if there is a way to do this when you do not know the
order of the arguments being passed in.
uesday, November 10, 2009 2:38 PM
To: Bierbryer, Andrew
Cc: r-help@r-project.org
Subject: Re: [R] do.call and timeSeries
Bierbryer, Andrew wrote:
> Does anyone know why the following code hangs on the do.call, but
works
> fine when I either comment out the require(timeSeries) or only do 2
&
Does anyone know why the following code hangs on the do.call, but works
fine when I either comment out the require(timeSeries) or only do 2
levels of a for loop instead of 3?
Thanks,
Andrew Bierbryer
require(timeSeries)
num <- 1
x.list <- list()
for ( i in 1:10 ) {
If I have an R script that I am executing from a command line in linux,
do you know how I can return the value of the variable in my R script to
the linux environment without writing it to a file in my R script and
then reading the file through cat?
For example, if I had a simple one line R
4 matches
Mail list logo