Displaying 1 result from an estimated 1 matches for "batchmaketax".
2008 Nov 25
1
Problem running R from within a script
...ipt that runs the R script for each file matching a glob.
R is not picking up the correct parameters *when run from the script*.
When I run the command line by itself, it runs fine.
The command line is this:
/usr/bin/R CMD BATCH --no-restore --no-save '--args $taxFile $taxFile.taxonomy' batchMakeTax.R batchMakeTax.log
Here's the output of the script:
Processing /usr/bin/R CMD BATCH --no-restore --no-save '--args Call0103.xpt Call0103.xpt.taxonomy' batchMakeTax.R batchMakeTax.log
/usr/lib/R/bin/BATCH: line 55: Call0103.xpt: Permission denied
I do not know why it's trying to wr...