search for: alrpc

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

Did you mean: plrpc
2008 Aug 10
1
R function, sink() and empty file
...manually the file is fine. How can I solve that? Is there any other way to run a R script on different files with different names? Thank you very much 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=&...