Re: [R] writing R shell scripts?

From: Dirk Eddelbuettel <>
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.


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

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.