不能安装用于定量仪的吸墨纸包



我正在尝试使用r中的quantstrat包,我已经使用

上传/安装了该包
install.packages("quantstrat", repos="http://R-Forge.R-project.org") 

然而,一旦我使用

require(quanstrat) 

我得到消息:

加载所需包:quantstrat失败,错误:找不到' quantstrat '所需的'包'吸水纸'

然后使用

install.packages("blotter", repos="http://R-Forge.R-project.org") 

但得到以下消息:

只提供源代码形式的包,可能需要编译C/c++/Fortran:"流水帐"这些将不会被安装

谁能给点建议?

我来晚了,但也许需要注意的是"吸墨纸";和";quantstrat"不在CRAN上,几年前转移到GitHub上。repo上的README (https://github.com/braverock/quantstrat)有更多关于安装吸墨纸和更重要的quantstrat的信息。

install.packages("devtools") # if not installed
install.packages("FinancialInstrument") #if not installed
install.packages("PerformanceAnalytics") #if not installed
# next install blotter from GitHub
devtools::install_github("braverock/blotter")
# next install quantstrat from GitHub
devtools::install_github("braverock/quantstrat")

最新更新