Re: [R] Running Shell Script with R

2011-11-28 Thread Steve Lianoglou
One more thing I probably overlooked: On Mon, Nov 28, 2011 at 1:24 PM, Steve Lianoglou wrote: > Hi John, > > Hard to say (for me) what's going on ... is there any errors in any > relevant logs anywhere? > > Also, note that you don't have to write a bash script to run your R > script .. you can wr

Re: [R] Running Shell Script with R

2011-11-28 Thread Steve Lianoglou
Hi John, Hard to say (for me) what's going on ... is there any errors in any relevant logs anywhere? Also, note that you don't have to write a bash script to run your R script .. you can write a script with a shebang like so: = #!/usr/bin/env Rscript ## R code here.

[R] Running Shell Script with R

2011-11-28 Thread jp134711
I'm having some trouble getting my shell script to work. I've checked out the Intro to R Manual and a host of other websites, but I still can't get the script to work when I submit the job to the cluster. Here is my main R code: ##Load Libraries ##... ## Load Time Data Args <- commandArgs(traili