[R] can't open file

Sebastian Kruk residuo.solow at gmail.com
Wed Jul 7 15:43:55 CEST 2010


I tried:

L <- readLines(con <- file("log2.log", encoding="UCS-2LE")
z <- read.zoo(textConnection(L), index = 1:2,FUN = function(x)
paste(x[,1], x[,2]))

Error:
Error en x[, 1] : número incorreto de dimensiones



More information about the R-help mailing list