I have been pulling my hair out trying to figure this out, I have read so many blogs and tried different things but I still get the same error, and I don't understand what is wrong with my code.I am trying to pull several csv files into R all at once and I keep getting the following error.
No such file or directoryError in file(file, "rt") : cannot open the connection
`Tea_ONE <- "~/Desktop/Circadian Rhythms
Sem/Project/Tea_Party_ONE/Tea_Party_ONE_Lumicycle_data/"
files <- list.files(path = Tea_ONE, pattern = ".csv$")
for(i in 1:length(files)){
assign(files[i],
read.csv(paste(Tea_ONE, files[i], header = T, skip = 1)))
}`
all of the CSV files are located in the Tea_Party_ONE_Lumicycle_data.
Thanks for any help