Below is the code provided to me by my professor to load an R file. I have copied and pasted the file location from the file manager.
rm(list = ls())
#Import Packages
require(xlsx)
#Import Data
data <- read.xlsx("C:/Homework/Novice Data v2.xls", 1)
#Looking at the data types and overview of the data
str(data)
The return of this is: Error in loadWorkbook(file, password = password) :
Cannot find C:/Homework/Novice Data v2.xls
What am I doing wrong here? I have an assignment due and I cannot move to the next portion without getting over this hurdle.
Thanks in advance.