[R] Reading in a csv - 2 different results
schmeier at dfki.de
Fri Jun 20 12:42:32 CEST 2014
I am a beginner in R and already read and (thought that I) understood the R
introduction tutorial. However there is this reading .csv which I cant
solve. The question is: Why has data in the both cases a different content?
I have a directory containing one .csv file.
data <- read.csv(<<dir+filename>>)
temp <- paste(c("dir/"), list.files("dir"), sep = "“)
data <- sapply(temp, read.csv)
Thanks for the replies and sorry if this question has been posted already
and I didn't see it,
p.s.: I am asking this because Version 2 gives me the possibility to read a
whole directory with .csv files into one list
View this message in context: http://r.789695.n4.nabble.com/Reading-in-a-csv-2-different-results-tp4692434.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help