B11b B11b - 5 months ago 27
R Question

importing csv files to R

I imported csv.file to software R. But, when listing the data in R, variable names and variable values are not separated. (Screenshot is posted ~ picture1) Also, when seeing the variable names, variables name is listed in one column as if it is one name. (picture2) There is a problem. I need to separate them. How to solve it? Thank you so much.
enter image description here

enter image description here

Answer Source

read.csv splits data by , and your file has ;. Try read.csv2 instead.