I am doing just like tutorial instructions but it didn't work.
Title
Question
it shows this
# 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
but I saved all the code files in my directory.
R Merging-and-Importing-Data 07-08 min 10-20 sec
Answers:
R cannot find the 'CaptaincyData.csv' file in your current working directory. Kindly check your current working directory by making use of the "getwd()" function and make sure that the file is present there. You can also change the working directory by making use of the "setwd()" function.
Login to add comment