Error in file
Title
Question
Good afternoon,
I have an error in merging and importing data which is mentioned below:
#clear R workspace
>rm(list = ls() )
#Declare a variable to store the data frame
>captaincyOne = read.csv("CaptaincyData.csv")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'CaptaincyData.csv': No such file or directory
In addition: Warning message:
In file(file, "rt") :
cannot open file 'CaptaincyData.csv': No such file or directory
R Merging-and-Importing-Data 01-02 min 10-20 sec
Answers:
Please ensure that you have stored the CaptaincyData.csv in a proper folder and made that folder as your working directory. To know more, you might want to have a look on the tutorial https://spoken-tutorial.org/watch/R/Working+directories+in+RStudio/English/
Login to add comment