R error because of ~ symbol in my Windows User name?

Viewed 43

I am pretty new to R and since I got a new laptop, I'm constantly getting this error:

  • Error in nchar(homeDir) : invalid multibyte string, element 1

and

  • In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/Jo�o/Documents": The system cannot find the path specified

One thing I looked up is that R has trouble reading symbols such as ~ (my username contains it). Does anyone have a solution to this?

0 Answers
Related