Hi Guys,
After creating a species detection history matrix in Camtrap R, I'm trying to save the matrix as a csv using write.csv but keep hitting the error:
write.csv(cats_autwinDet,file ="~/Documents/Deakin/Honours2019/Data/cats_autwinDet.csv")## save as csv. file
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file 'C:/Users/zooto/Documents/Documents/Deakin/Honours2019/Data/cats_autwinDet.csv': No such file or directory
Why can't it find the directory when I set it as the 'Working Directory'?
Cheers
Mary