Amazon web services 在RStudio AWS AMI上安装RQuantLib

Amazon web services 在RStudio AWS AMI上安装RQuantLib,amazon-web-services,quantitative-finance,rstudio-server,quantlib,Amazon Web Services,Quantitative Finance,Rstudio Server,Quantlib,有一些类似的问题(),但没有一个与AWS RStudio环境相关。在尝试了通常的方法之后 install.packages('RQuantLib'); library(devtools) install_github("eddelbuettel/rquantlib") 我得到以下错误(在这两种情况下): 此外,突然之间(在我的本地计算机上从3.4.4升级到3.5.0后),RQuantLib也停止在我的本地Windows计算机上工作: Error in system(full, intern

有一些类似的问题(),但没有一个与AWS RStudio环境相关。在尝试了通常的方法之后

install.packages('RQuantLib');
library(devtools)
install_github("eddelbuettel/rquantlib")
我得到以下错误(在这两种情况下):

此外,突然之间(在我的本地计算机上从3.4.4升级到3.5.0后),RQuantLib也停止在我的本地Windows计算机上工作:

 Error in system(full, intern = TRUE, ignore.stderr = quiet, ...) : 
 running command '"C:/PROGRA~1/R/R-35~1.0/bin/x64/R" --no-site-file --no-  environ --no-save --no-restore --quiet CMD config CC' had status 1
在遵循Github页面上的说明后,我尝试了以下方法:

if (!require("drat")) install.packages("drat")
drat::addRepo("ghrr")
install.packages("RQuantLib", type="binary")
但有以下错误:

Warning in install.packages :
unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:
cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'
Warning in install.packages :
package ‘RQuantLib’ is not available (as a binary package for R version 3.5.0)
我还能试什么?AWS问题具有更高的优先级,尽管我真的希望能够在本地机器上再次使用RQuantLib,因此非常感谢您的帮助


小提示:RQuantLib库在Debian 16.04 AWS AMI上编译成功,但在RStudio AMI上编译不成功。

Windows版本与Unix版本一样,需要QuantLib出现,这有其挑战性

最近的一次上传恢复了这一功能,它利用了带有QuantLib预构建版本的GitHub回购协议。现在尝试在Windows上安装RQuantLib 0.4.5;你应该尽可能从CRAN那里得到一个二进制文件

Warning in install.packages :
unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:
cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'
Warning in install.packages :
package ‘RQuantLib’ is not available (as a binary package for R version 3.5.0)