Search code examples
rquantstratfedora-25blotter

Installing Quantstrat in a recently updated R in Fedora Linux


I have updated my Fedora Distribution recently, and R was updated too. I re installed most of the packages, but I couuldnt install blotter and quantstrat.

How can I solve this issue? Thank you!

The error I get is the following one:

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

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

My sessioninfo is the folowing:

> sessionInfo()

R version 3.4.0 (2017-04-21) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: Fedora 25 (Twenty Five)

Matrix products: default BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so

locale: [1] LC_CTYPE=es_AR.UTF-8 LC_NUMERIC=C LC_TIME=es_AR.UTF-8 LC_COLLATE=es_AR.UTF-8
[5] LC_MONETARY=es_AR.UTF-8 LC_MESSAGES=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=es_AR.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.4.0 tools_3.4.0


Solution

  • Your problem likely isn't an issue related to Fedora linux. Install quantstrat from souce via github, where the latest code resides:

    library(devtools) # need devtools to use install_github
    install_github("braverock/quantstrat")