How to access a file from my computer using Rstudio Cloud?

I have tried to change working directory to open my file but I did not get success.

setwd("C:/Users/André Neves/Desktop/")
Error in setwd("C:/Users/André Neves/Desktop/") :
cannot change working directory

Is there a manner to do it?

RStudio Cloud is an online service which provides an RStudio session running on a Linux server, and since the software doesn't run in your computer, it doesn't have access to your local file system, if you want to use data from a file, you have to upload it to the server with the "upload" button on the "Files" panel.

1 Like

Thank you for your help but I need to read a txt file from my computer.

Then upload it to RStudio Cloud or use RStudio Desktop instead.

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