Displaying 1 result from an estimated 1 matches for "taxfilearg".
2008 Nov 25
1
Problem running R from within a script
...makeCommand
done
...and, the R script. Note that R never gets as far as running the
script, however - the error occurs in the CMD shell script that is under
/usr/bin/R/CMD.
[josh at localhost cr]$ cat batchMakeTax.R
library(foreign)
scratchOne <- commandArgs()
inFileArg <- scratchOne[10]
taxFileArg <- scratchOne[11]
sink("debugout.txt", FALSE, "output", FALSE)
print (inFileArg)
print (taxFileArg)
bankData <- read.xport(inFileArg)
sink(NULL)
sink(taxFileArg, FALSE, "output", FALSE)
bdNames <- names(bankData)
numCol <- ncol(bankData)
i=1
while (i <...