Unable to Import file in R Studio in Cloud

Hello

Have just begun with R Studio in Cloud. While I uploaded a data file from my laptop I am not able to import it in R. Getting the following message

library("tidyverse")
library("readxl")
brooklyn <- read_excel("rollingsales_brooklyn(1).xls", skip = 4)
getwd()
Error: path does not exist: ‘rollingsales_brooklyn(1).xls’

Please help

Thanks

SHRINIVAS

Hello @DHARMA,

Since you confirm that you uploaded your file into your RStudio Cloud session, the issue must be that you may have uploaded it into a certain folder? Did you create (maybe) a data/ folder in your RStudio Cloud where you put the file? If you did, then you need to add the folder name in the path:

...
brooklyn <- read_excel("data/roolingsales_brooklyn(1).xls", skip = 4)
...

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.