Create columns from read.csv? How?


This is how my raw data looks like in excel. This file is saved as .csv.
I then open it with R using
The result is:
But I want it to simply create two columns, just like in the excel file. Is there any quick way to do that when opening the .csv file?


read.csv(file.choose(),  sep = ";")

It looks like the separator is a semicolon and not a comma.

1 Like

Works! Thank you very much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.