Installation of RQuantLib

…衆ロ難τιáo~ 提交于 2019-12-06 05:19:28
Dirk Eddelbuettel

You are on Windows per your comment. As per this section of the README.md

Windows Binaries

Starting with release 0.4.3, binaries are provided via the ghrr drat repo and can be installed as

R> drat::addRepo("ghrr") # maybe use 'install.packages("drat")' first
R> install.packages(RQuantLib)

you can install a pre-built Windows binaries -- which I just updated for QuantLib 1.8.1 -- from this non-CRAN repo.

Edit: Apparently one now has to say type="binary" even on Windows. Here is a log from a virtual machine I keep:

R> drat::addRepo("ghrr")
R> options("repos")
$repos
                          CRAN                           ghrr 
 "https://cloud.r-project.org" "https://ghrr.github.io/drat/" 

R> install.packages("RQuantLib", type="binary")
Installing package into c:/opt/R-library
(as lib is unspecified)
trying URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.3/RQuantLib_0.4.3.zip'
Content type 'application/zip' length 7993848 bytes (7.6 MB)
downloaded 7.6 MB

package RQuantLib successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\[redacted]\AppData\Local\Temp\RtmpAHvBmo\downloaded_packages
R> 

I'll update the README.md web page.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!