how to import a csv fike into R

hr=read.csv("C:\Users\FACPAN\OneDrive\Documents\R Learning_Practice")

is giving error message

What is the error message? Should there be a ".csv" at the end of the filename/path?

Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'C:\Users\FACPAN\OneDrive\Documents\R Learning_Practice': Permission denied

I have gotten it. it is because of the 'onedrive', my drive is full and not synchronizing again.

I used the file path for the download and it worked.

Thanks

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.