在El Capitan上安装后尝试打开RStudio时收到错误消息

时间:2017-09-03 15:27:49

标签: rstudio

尝试在El Capitan上运行RStudio 1.0.153,并安装R版本3.4.1。

当我尝试打开Rstudio时,它会给我以下错误消息,然后是一个空白屏幕:

意外异常:重复范围内容无效。解析正则表达式片段时发生错误.... Full error message from screen grab

运行诊断会显示以下输出:

Using R script: /Library/Frameworks/R.framework/Versions/3.4/Resources/bin/R

Attempting to launch R session...
    R_HOME=/Library/Frameworks/R.framework/Resources
    R_DOC_DIR=/Library/Frameworks/R.framework/Resources/doc
    R_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include
    R_SHARE_DIR=/Library/Frameworks/R.framework/Resources/share 
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:
    {\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340:
    {\fonttbl\f0\fswiss\fcharset0 Helvetica;}: 

{\ colortbl; \ red255 \ green255 \ blue255;}:\ margl1440 \ margr1440 \ vieww10800 \ viewh8400符\ v  iewkind0:\ PARD \ tx566 \ tx1133 \ tx1700 \ tx2267 \ tx2834 \ tx3401 \ tx3968 \ tx4535 \ tx5102 \ tx56  69 \ tx6236 \ tx6803 \ pardirnatural \ partightenfactor0:\ f0 \ fs24 \ cf0

/Users/user/Library/Android/sdk/tools\:\cf0 
/Users/user/Library/Android/sdk/platform-tools}
HOME=/Users/user

03 Sep 2017 15:17:48 [rsession-user] ERROR Unexpected exception: Invalid content of repeat range.  The error occurred while parsing the regular expression fragment: '(^|:){>>>HERE>>>\rtf1\ansi'.; LOGGED FROM: int rstudio::r::session::RReadConsole(const char *, CONSOLE_BUFFER_CHAR *, int, int) /Users/rstudio/rstudio/src/cpp/r/session/RSession.cpp:812

03 Sep 2017 15:17:48 [rsession-user] ERROR R SUICIDE: Unexpected exception: Invalid content of repeat range.  The error occurred while parsing the regular expression fragment: '(^|:){>>>HERE>>>\rtf1\ansi'.; LOGGED FROM: void <anonymous namespace>::rSuicide(const std::string &) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:2488

尝试重新安装几次,以及安装旧版本的RStudio。但同样的错误不断出现(道歉,因为我无法正确格式化诊断输出的中间位)

非常感谢任何帮助。

0 个答案:

没有答案