Help to change working Dir.

Need Help with this.
Wanted to do the below
dt1 <- read.csv("/Users/gasnaken/Downloads/work/project/collection_2013.csv")

and got this error

Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file '/Users/gasnaken/Downloads/work/project/collection_2013.csv': No such file or directory

Then check for my wd and got this

[1] "/cloud/home/r1621597"

So been trying to change the working directory to /Users/gasnaken/Downloads/work/project but getting below.

Error in setwd("/Users/gasnaken/Downloads/work/project") :
cannot change working directory

Help me solve this or advise.. am sick

This suggests you are using RStudio Cloud, if so, that service runs on servers in the cloud, they do not have access to your local files, if you want to use that csv in your RStudio Cloud session, you need to upload it to the server first.

1 Like

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.