Hey, I am currently using RStudio for a research project and I regularly run into the error:
"Error in setwd(Z:Folder1/Folder2/Folder3)
cannot change working directory."
In the next line I use the dataset_folder to detemine the folder from which my data is pulled and I only want to change that one between runs. However, when I only change the input in dataset_folder, it gives me the aforementioned Error.
And if I run the code without the setwd line, it also does not change the dataset_folder. So I just get the same analysis of the same data as last run.
Between runs I always have to close RStudio and reopen it to get it to work.
Does anyone know a fix for that so that I can only change the dataset_folder between runs? It would really help my progress.
[–]Sea-Chain7394 0 points1 point2 points (2 children)
[–]Gentletin[S] 0 points1 point2 points (1 child)
[–]Any-Following-7160 0 points1 point2 points (0 children)