I'm very new to R & very scared of syntax error frustration (it made me give up on Python before).
I'm following a tutorial on using readr to open an already uploaded dataset (called mtcars).
I tried using readr_example & read_csv (& read_csv Idk the difference tbh) but I keep getting the following errors:
readr_example("mtcars")
Error in system.file("extdata", file, package = "readr", mustWork = TRUE) :
no file found
read_csv("mtcars")
Error: 'mtcars' does not exist in current working directory ('/cloud/project').
read.csv("mtcars")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open file 'mtcars': No such file or directory
Try it in readr_example that will be there by virtue of you using readr.
For read_csv to work, you would have had to take steps to place the csv in your cloud, and i dont know that youve done so.
To see if you have any files loaded you can list your files.