【发布时间】:2017-09-02 03:45:51
【问题描述】:
我正在尝试在 Rstudio 上安装 Rmarkdown。
install.packages("rmarkdown")
我收到的错误消息包括:
configure: error: in `/private/var/folders/z6/pjv553zn1bb39ldgph2klbt40000gn/T/RtmplQkOZY/R.INSTALL7213 13a123d/stringi':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: configuration failed for package ‘stringi’
(我还收到其他错误术语,例如
Warning in install.packages :
installation of package ‘stringi’ had non-zero exit status
ERROR: dependency ‘stringi’ is not available for package ‘stringr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringr’
其中有一些会在此问题帖子中占用太多空间。)
我有一个 Mac OS X Lion 10.7.5,并在我的计算机上下载了一个应该提供 C 编译器的 xcode,但在 rstudio 中没有读取。
【问题讨论】:
标签: r macos rstudio r-markdown