[R] writing R shell scripts?

Na Li nali at umn.edu
Wed Nov 9 16:46:57 CET 2005


On  7 Nov 2005, Mike Miller wrote:

> Is it possible to do this sort of thing in R using something like this?:
> 
> #!/usr/lib/R/bin/R.bin
> 
> Well, that isn't quite it because I tried it and it didn't work!
 
Mike,

I use a shell script to do this which also allows passing in command line
options.

http://www.biostat.umn.edu/~nali/computing/Rstuff.html#sec2

It is a hack of course.  Hopefully soon this will be implemented in R itself.

Michael




More information about the R-help mailing list