【发布时间】:2015-10-22 16:05:59
【问题描述】:
我正在尝试在 Mac OSX 上的 R 上安装 Rsymphony 包。我收到以下错误:
install.packages("Rsymphony")
Package which is only available in source form, and may need
compilation of C/C++/Fortran: 'Rsymphony'
Do you want to attempt to install these from sources?
y/n: y
installing the source package 'Rsymphony'
trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/Rsymphony_0.1-21.tar.gz'
Content type 'application/x-gzip' length 7429 bytes
==================================================
downloaded 7429 bytes
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
* installing *source* package 'Rsymphony' ...
** package 'Rsymphony' successfully unpacked and MD5 sums checked
Cannot find SYMPHONY libraries and headers.
See <https://projects.coin-or.org/SYMPHONY>.
ERROR: configuration failed for package 'Rsymphony'
* removing '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/Rsymphony'
The downloaded source packages are in
'/private/var/folders/0n/03x0y52j51q5fsfm3_g8bc000000gn/T/RtmpL7916v/downloaded_packages'
Warning message:
In install.packages("Rsymphony") :
installation of package 'Rsymphony' had non-zero exit status
安装“fPortfolio”包需要此包。关于可能的解决方案的任何提示?
【问题讨论】:
-
写得很清楚
Cannot find SYMPHONY libraries and headers. -
是的,如何获得?
-
再次阅读错误信息。写得很清楚。提示:搜索以
See <https开头的行。
标签: r macos failed-installation installation-package