Can't code files directly into Rstudio posit cloud due to the space in "My Files" in chromebook

I am having trouble with figuring out how to go directly into the local storage on my chromebook. I have been able to do it using the manual import from the right side, but cant use the read.csv function because there is a space in "My Files" in the local address. I cant create anything outside of that in the chromebook. Every folder I create is under that My files location first.

Hi @Derik_Eaquinto , maybe try to scape the spaces

read.csv("My\\ Files/your_folder/your_file.csv")

Other way is get the full path for know how R recognize the entire file path.

file_path <- file.choose()
data <- read.csv(file_path)

Posit Cloud has no access to your local storage, you'd first need to upload your files to the server (Files tab > Upload).

And you do need to enclose file paths in quotes, i.e. read.csv("Overall_experience.csv") instead of read.csv(Overall_experience.csv).

1 Like