Titouan Bonnot Author Answered May 13, 2021
INRAE - Dijon, Agroecology
Hello,
You got this error because the working directory is incorrect. You probably got another error message before this one, saying "... cannot change working directory". The working directory should end with the subfolder where your data files are. Please use the following code on line 10 of the R script (assuming that your files are in your subfolder "Bioprotocol"):
setwd("/Users/mehaktaneja/Desktop/Bioprotocol/")
Then, the code should work. If not, please let me know.
Thanks,
Titouan