"Error in setwd(dir): cannot change working directory"

7.6k Views Asked by At

Trying to run a function where I set the directory to wherever is specified in the arguments.

However every time I do, I get the error message:

"Error in setwd(dir): cannot change working directory"

This happens even if I've already changed the wd manually in the console and I have absolutely no clue why it's being so annoying.

Thanks in advance!

0

There are 0 best solutions below