如何解决此错误"Error in nchar(homeDir) : invalid multibyte string, element 1"



当我尝试加载/安装任何软件包时,会出现以下错误。安装新版本的时发生这种情况。

Error in nchar(homeDir) : invalid multibyte string, element 1
In addition: Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Users/my.name/OneDrive - companies name/Documents":
The system cannot find the path specified

如何解决这个问题?

我在重新安装OneDrive时遇到了类似的问题。我通过取消桌面的Documents文件夹与OneDrive的链接解决了这个问题。你可以在下面的链接中查看如何做到这一点:

https://answers.microsoft.com/en-us/windows/forum/all/unlink-my-documents-folder-from-onedrive/21edbce4-a38e-489b-8aab-608f0f4ee506?page=2

相关内容

最新更新