Я видел много решений этой проблемы и раньше, но они не могут ее решить.
> 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”
, Но я не знаю, как решить эту проблему.