How to import data


I have a CSV document that I would like to upload to Rstudio, but when I try to upload it, it says error. I dont know what to do to make it upload, can anyone help me?

It looks like your file has an extra line at the beginning. You can skip it using

nye_data <- read.csv("", skip = 1)
1 Like

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