简体   繁体   English

设置工作目录 R 错误 u2069 无法更改工作目录

[英]Setting working directory R error u2069 cannot change working directory

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 "具体来说,目录路径后跟“ u2069

I am working from a Mac.我正在使用 Mac 工作。 Any suggestions?有什么建议?

I had an identical problem running R 3.6.2.我在运行 R 3.6.2 时遇到了同样的问题。 on a Mac.在 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.我不能完全解释它,但这似乎是某种编码/格式问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 R工作目录“无法更改” - R Working Directory “cannot change” 设置工作目录:“C:/Documents and Settings/...”下的“Error in setwd: cannot change working directory” - Setting a working directory: “Error in setwd: cannot change working directory” under “C:/Documents and Settings/…” 使用管道工 R 中的另一个目录更改工作目录 - Change working directory with another directory in plumber R 为什么在R Notebook中设置工作目录不会在控制台中更改工作目录? - Why setting working directory in R Notebook doesn't change working directory in console? 错误 setwd() “无法更改工作目录” - Error setwd() “cannot change working directory” R EML:system.file 为空且 set_methods setwd(wd) 中的错误:无法更改工作目录 - R EML: system.file empty and set_methods Error in setwd(wd) : cannot change working directory 从 R 中的另一个驱动器设置工作目录 - Setting a working directory from another drive in R 无法永久更改R工作目录-Windows 10 - Cannot permanently Change R Working Directory - Windows 10 使用dir.create的“无法更改工作目录”错误 - “cannot change working directory” error using dir.create Rcpp:使用嵌入式R代码调用时,“无法更改工作目录” - Rcpp: “Cannot change working directory” when called with embedded R code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM