RQuantLib OSX安装问题

时间:2015-06-17 03:21:57

标签: r macos rjdbc

按照以下步骤在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,但也没有成功。不知怎的,我无法让它发挥作用,而且我现在陷入困境。

非常感谢任何帮助,谢谢。

0 个答案:

没有答案