search for: bdnames

Displaying 1 result from an estimated 1 matches for "bdnames".

Did you mean: bbnames
2008 Nov 25
1
Problem running R from within a script
...gn) 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 <= numCol) { myVar <- paste(bdNames[i], typeof(bankData[[bdNames[i]]]), sep=":") print(myVar) i=i+1 } q() Thanks! -josh -- ----- http://www.globalherald.net/jb01 GlobalHerald.NET, the Sma...