如何在Mac OS X 10.14中安装Rsymphony

时间:2019-02-27 06:44:43

标签: r macos install

我以前已经看到很多解决此问题的方法,但是他们无法解决。

> 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? (Yes/no/cancel) y
installing the source package ‘Rsymphony’

试开URL’https://cran.rstudio.com/src/contrib/Rsymphony_0.1-28.tar.gz'
Content type 'application/x-gzip' length 8631 bytes
==================================================
downloaded 8631 bytes

* installing *source* package ‘Rsymphony’ ...
** 成功将‘Rsymphony’程序包解包并MD5和检查
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.5/Resources/library/Rsymphony’
Warning in install.packages :
  installation of package ‘Rsymphony’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/b0/n64bqfyn5y9dr3t427tljzv40000gn/T/RtmptYuOGn/downloaded_packages’

之前

brew install symphony

然后修改文件R_symphony.cc & configure

但是这个问题仍然没有改变。

我知道“SystemRequirements: SYMPHONY libraries and headers”,但我不知道如何解决。

0 个答案:

没有答案