Re: [R] writing R shell scripts?

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Thu 25 Jan 2007 - 20:35:13 GMT

On Thu, Jan 25, 2007 at 07:43:58PM +0000, Prof Brian Ripley wrote:
> On Thu, 25 Jan 2007, Deepak Chandra wrote:
> > My apologies for being sketchy in my example: I was hoping to
> > elucidate my problem without too many details.
> > I was looking #! capabilites for running my scripts with different
> > arguments from my shell.
>
> Rscript does that, and if you are lucky, littler will.

Littler comes with a few examples that show you what is possible. What is lacking is some sort of getopt() equivalent -- you still need evaluate yuor vector of arguments yourself.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

______________________________________________
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 Fri Jan 26 07:37:54 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 Thu 25 Jan 2007 - 21:30:29 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.