[R-SIG-Finance] RQuantLib/Quantlib for R-3.0.2 (Linux) ?

Dirk Eddelbuettel edd at debian.org
Sat Nov 2 20:07:08 CET 2013


Mark,

On 2 November 2013 at 11:31, Mark Knecht wrote:
| I wanted to install RQuantLib inside of R-Studio on my Gentoo Linux
| machine running R-3.0.2 however the install fails complaining about
| needing Quantlib:
| 
| checking whether g++ accepts -g... (cached) yes
| checking for R... yes
| checking for Rscript... yes
| checking for quantlib-config... no
| configure: error: Please install QuantLib before trying to build RQuantLib.
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I tried to make this as plain as possible: RQuantLib needs QuantLib.

| ERROR: configuration failed for package ‘RQuantLib’
| * removing ‘/home/mark/R/x86_64-pc-linux-gnu-library/3.0/RQuantLib’
| Warning in install.packages :
|   installation of package ‘RQuantLib’ had non-zero exit status
| 
| The downloaded source packages are in
| ‘/tmp/RtmpVvgUYR/downloaded_packages’
| 
| My problem is Quantlib doesn't seem to be available through the normal
| CRAN mirror I use. (Either USA CA 1 or USA CA 2) Do I need to look
| somewhere else to find this?

Did you consider Googling this?

You seem to think that QuantLib was somehow related to CRAN; it is not.

On Debian or Ubuntu, you'd so 'sudo apt-get install libquantlib0-dev'.  On
Gentoo, you may have to start from the QuantLib sources.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-SIG-Finance mailing list