r - Rsymphony OSX Installation failed -
i'm trying install rsymphony package on r on mac osx. following error:
install.packages("rsymphony") package available in source form, , may need compilation of c/c++/fortran: 'rsymphony' want attempt install these sources? y/n: y installing 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' unpacked , md5 sums checked cannot find symphony libraries , headers. see <https://projects.coin-or.org/symphony>. error: configuration failed package 'rsymphony' * removing '/library/frameworks/r.framework/versions/3.2/resources/library/rsymphony' downloaded source packages 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
this package required installing "fportfolio" package. hints on possible solution?
after try , error, found how install rsymphony in osx
install coinor repository brew in terminal
~$ brew tap coin-or-tools/coinor
install symphony through brew in terminal
~$ brew install symphony
install rsymphony under r command line
> install.packages("rsymphony")
hope helps ^^
Comments
Post a Comment