I am having a problem uploading the sport_heights.csv file into my RStudio after numerous attempts.
I have the file locally uploaded (appears in the lower right pane in RStudio as sport_heights.csv)
Here is my R code:
heights <- read.csv('sport_heights.csv')
heights
Here is the error message:
heights <- read.csv('sport_heights.csv')
Error in file(file, "rt") : cannot open the connection
In addition: Warning message: In file(file, "rt") : cannot open file 'sport_heights.csv':
No such file or directory
If your question has been answered, would you mind marking the solution? That way, someone in the future can come along and easily see what worked for you.
If you’re the OP (as you were in this case), there should be a little box at the bottom of replies that you can click to select that response as your “solution.”
Strangely enough, I don't see the solution button on my reply screen. I noticed that on this particular computer, other options are greyed out. I am very sorry.