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

Viewed 7028

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 Answers
Related