search for: wasaux2

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

2012 Mar 28
4
reading files from two folders
...ther the code which I have tried are as follows setwd("/Groups/data_first/") file_was <- list.files(path = ".", pattern = "v2.0.2.was", all.files = FALSE, full.names = FALSE, recursive = FALSE, ignore.case = FALSE) path<-c("/Groups/data_second/") file_wasaux2 <-list.files(path,pattern="v2.0.2.wasaux2") files<- 1 for ( i in files){ data1 <- read.table(file_was[i],header=TRUE) data2 <- read.table(paste(path1t, file_wasaux2[i],header=TRUE)) data <- cbind (data1,data2) } but I get error (Error in read.table(SCI...