Re: [R] reading files from two folders

2012-03-28 Thread uday
Hi Hth -- Gerrit , thanks for reply sorry it was typo mistake , but I corrected that problem before . But the error is still same. setwd("/Groups/data_first/") file_was <- list.files(path = ".", pattern = "v2.0.2.was", all.files = FALSE, full.names = FALSE, recursive = FALSE, ignore.case =

Re: [R] reading files from two folders

2012-03-28 Thread uday
Hi Hth -- Gerrit , I found the problem I added "sep" and one bracket was missing the new codes 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("

Re: [R] reading files from two folders

2012-03-28 Thread Roland Rau
Hi, On 03/28/2012 08:48 AM, uday wrote: > I would like to read data from two different folder and then combine this > together > 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

Re: [R] reading files from two folders

2012-03-28 Thread Gerrit Eichner
Hello, uday, there's presumably a typo in your code because you use path1t in data2 <- read.table(paste(path1t, file_wasaux2[i],header=TRUE)) and not path which you defined above. Hth -- Gerrit - Dr. Gerrit Eichner

[R] reading files from two folders

2012-03-28 Thread uday
I would like to read data from two different folder and then combine this together 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