问题

安装后,当我尝试在Mac上打开RStudio时,我看到了这个错误:

 Unexpected exception: Escape sequence was neither a valid property nor a valid character class name.  The error occurred while parsing the regular expression fragment: 'LUDE=C:\py>>>HERE>>>thon27\inc'.
 

从日志:

 ERROR R SUICIDE: Unexpected exception: Escape sequence was neither a valid property nor a valid character class name.  The error occurred while parsing the regular expression fragment: 'LUDE=C:\py>>>HERE>>>thon27\inc'.; LOGGED FROM: void <anonymous namespace>::rSuicide(const std::string &) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:1023
 

我如何解决这个问题?

RStudio安装程序版本是1.1.463.我也看到1.1.453的同样问题.我在Mac OS Sierra(版本10.12.6).

  最佳答案

我在$ cat /etc/paths中有一些错误的路径.删除它们,RStudio工作正常.

  相同标签的其他问题

macosrstudio