search for: r_out

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

Did you mean: f_out
2008 Aug 10
1
R function, sink() and empty file
...ch in advance Laura ============================= EXAMPLE OF CODE ============================= km = function(a,o) { fld <- system.file("G:/ALRPC/JRC/IMG/", package="rgdal") filename = as.name(paste (a, "-", o, sep="")) file <- read.table(paste("R_out/", filename, ".txt", sep="")) obj <- kmenas(file, 5) sink(paste("R_out/res", filename, ".txt", sep="")) "Kluster centers" obj$centers "Within size for clusters" obj$withinss "Cluster size" obj$size sink() }...
2004 Apr 13
2
R apache and PHP
I've developed a web application in PHP and R my script is <?php ... exec("R CMD BATCH --silent /home/marcello/R_in/myfile.bat /home/marcello/R_out/myfile.out"); ... ?> This script execute in R batch mode and write the myfile.out. On Win2000 the similar script is ok, but on linux I've a problem. I suppose is a permession problem because the same script on shell run fine and on Zend debugger (my IDE for php) is also ok. In this...
2004 Apr 13
0
R , apache and PHP
I've developed a web application in PHP and R my script is <?php ... exec("R CMD BATCH --silent /home/marcello/R_in/myfile.bat /home/marcello/R_out/myfile.out"); ... ?> This script execute in R batch mode and write the myfile.out. On Win2000 the similar script is ok, but on linux I've a problem. I suppose is a permession problem because the same script on shell run fine and on Zend debugger (my IDE for php) is also ok. In this...