I am having issues loading my data, I have my .csv files on a local drive but when I try to get them to open in r, I continue to get this error, Error in file(file, “rt”) : cannot open the connection
I originally had my files on a onedrive but made sure they are accessible even offline so then I transferred them to a local drive but I still can’t open the files in R.
file_path <- "/Users/genesisrosiles/Documents"
list.filenames <- list.files(pattern = “.csv$”)
print(list.filenames)
file_path <- “PIR001_100223_01.csv”
data <- read.csv(file_path)