rinstallationquantstrat

install quantstrat for R latest R version ()


I would like to install a package when using the latest R version in RStudio. In particular the quantstrat package Is that possible?

This is the R latest version I have 3.4.1

my error message:

Warning in install.packages :
  package ‘quantstrat’ is not available (for R version 3.4.1)

Solution

  • Because quantstrat build-fail at R-Forge, you can't get the pre-build file(.tar.gz). You can get the code from github and build by yourself.

    install.packages("devtools")
    require(devtools)
    install_github("braverock/blotter") # dependency
    install_github("braverock/quantstrat")