[R] writing R shell scripts?

Dirk Eddelbuettel edd at debian.org
Thu Jan 25 21:35:13 CET 2007


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



More information about the R-help mailing list