[R-SIG-Mac] Some library can't be installed on Mac OS Yosemite 10.10.3
Josh C. Chien
jcchien at me.com
Wed Jun 24 02:58:59 CEST 2015
Hi R-Mac,
I got trouble about installation of some library which might use C/C++/Fortran code.
Rmetrics-fPortfolio and RQuantlib are such case.
How to figure out this issue ?
thanks a lot.
below is my error message from RStudio.
> install.packages("fPortfolio")
also installing the dependency ‘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 packages ‘Rsymphony’, ‘fPortfolio’
trying URL 'http://mran.revolutionanalytics.com/snapshot/2015-05-01/src/contrib/Rsymphony_0.1-19.tar.gz'
Content type 'application/octet-stream' length 7358 bytes
==================================================
downloaded 7358 bytes
trying URL 'http://mran.revolutionanalytics.com/snapshot/2015-05-01/src/contrib/fPortfolio_3011.81.tar.gz'
Content type 'application/octet-stream' length 740344 bytes (722 KB)
==================================================
downloaded 722 KB
* 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’
Warning in install.packages :
installation of package ‘Rsymphony’ had non-zero exit status
ERROR: dependency ‘Rsymphony’ is not available for package ‘fPortfolio’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/fPortfolio’
Warning in install.packages :
installation of package ‘fPortfolio’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/vs/tv8qhwdn4r58jtlc9yhmz35m0000gp/T/RtmpAhJAHR/downloaded_packages’
>
____________________________
Josh Chien
Sent from my MacBook Pro
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list