"Fred J." <[EMAIL PROTECTED]> writes: > d <- dir("c:/data") > for (i in d){ > dt <- read.csv(c("c:/data/",i),header=FALSE) > }
> wouldn't work because c("c:/data",i) puts out "string" > "string" where both strings need to be one string. > how can I combinde both in one string, c:/data/i like > the good old perl "I wish". file.path("C:/data", i) ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html