Setting working directory R error u2069 cannot change working directory

497 Views Asked by At

Whenever I try to set the working directory I get an error message that says

Error in setwd("/Users/myname/Wedding\u2069") : 
  cannot change working directory

Specifically, the directory path is followed by "u2069"

I am working from a Mac. Any suggestions?

1

There are 1 best solutions below

0
mkt On

I had an identical problem running R 3.6.2. on a Mac. Deleting the apostrophe or quotation characters around the working directory, typing them in again and then running the command worked. I can't quite explain it, but this does appear to be some sort of encoding/formatting problem.