按照以下步骤在 OSX 上安装 QuantLib 并顺利进行:
http://quantlib.org/install/macosx.shtml
然后尝试安装 RQuantLib。首先下载源代码,解压并从终端执行以下命令,错误消息如下:
$ R CMD INSTALL RQuantLib
Loading required package: DBI
Loading required package: rJava
Error in .jfindClass(as.character(driverClass)[1]) : class not found
Calls: JDBC -> is.jnull -> .jfindClass
Execution halted
直接在R中尝试过,同样的问题:
> install.packages("RQuantLib")
Loading required package: DBI
Loading required package: rJava
Error in .jfindClass(as.character(driverClass)[1]) : class not found
Calls: JDBC -> is.jnull -> .jfindClass
Execution halted
Warning in install.packages :
installation of package ‘RQuantLib’ had non-zero exit status
尝试在 R 中重新安装 RJDBC,也没有成功。不知何故,我无法让它工作,现在被卡住了。
非常感谢任何帮助,谢谢。