[R] import csv file into R, strange problem

bonnieyuan bby2103 at columbia.edu
Tue Sep 13 18:08:56 CEST 2011

Hi, I used read.csv(file name, header=T, sep=",") to bring in a csv file I
saved in MS Excel. The strange thing is all the data ended up in one big
column. The number of rows match with the number of observations, but all
the variables got squeezed into one column. Also the first row where the
header is, the variables names have a dot between them, replacing the comma
that's in the original csv file. 

What did I do wrong here?

View this message in context: http://r.789695.n4.nabble.com/import-csv-file-into-R-strange-problem-tp3810470p3810470.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list