search for: cmd_arg

Displaying 3 results from an estimated 3 matches for "cmd_arg".

Did you mean: cmd_args
2010 Mar 11
1
Append to outfile in R CMD BATCH mode
...pend to the outfile when using R CMD BATCH? My code, right now, is: R CMD BATCH --slave --vanilla '--args place .2 -.1 .9 .6' StratificationSimulation example.output Everything else is working the way I'd like it. The first few lines of code of my script file are: options(echo=FALSE) cmd_args = commandArgs() print (cmd_args) #d <- read.table("/dev/stdin") if that helps any. However, I cannot currently change the output to append, rather than override, the designated outfile. Maybe I could potentially use sink(__, append=TRUE) if I could somehow reference the outfile from...
2010 Jun 26
1
Passing the parameter (file name) to png()
I am fitting 3 parameter model to my response matrix and want to generate item characterstic curve. I want to specify file name to save item characterstic curve by passing it as external parameter to the R batch script. The following is the code I have written for this. *R Script:* library(ltm) cmd_args = commandArgs(); for (arg in cmd_args) cat(" ", arg, "\n", sep="") respmat <- read.table("C:\\rphp\\responsedata.txt") fit3pl <- tpm(respmat) cat(" ", arg, "\n", sep="") b <- c("C:\\rphp\\",arg) png(file=b,...
2010 Apr 22
1
Transport endpoint not connected
Hey guys, I've recently implemented gluster to share webcontent read-write between two servers. Version : glusterfs 3.0.4 built on Apr 19 2010 16:37:50 Fuse : 2.7.2-1ubuntu2.1 Platform : ubuntu 8.04LTS I used the following command to generate my configs: /usr/local/bin/glusterfs-volgen --name repstore1 --raid 1 10.10.130.11:/data/export