問題

安裝後,當我嘗試在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