Importing a CSV-file into R

Hi all,

Can someone help me with this issue: if I use read.csv command to import a CSV-file, it takes each variable name as one. Put differently, I end up with one row.

Many thanks in advance!

Welcome to the community!

Would you mind posting a snapshot of your CSV, the code you're running, and a snapshot of what you're getting in R after running the read.csv function? It'll help a lot in figuring out where the function is going wrong.

Thanks!

Take a close look at the file in a text editor - see if you need to use a different value for the optional argument sep. And maybe header and/or quote arguments

This topic was automatically closed 42 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.