mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
.. first part just to get the configuration ready to build out a chart for the trend and activity view .. src.pro and gcconfig.pri are updated to link in with the RInside/Rcpp package install (new dependency) .. there is a script in util called install-packages.R which can be run to install the packages so long as R is available: $ R CMD BATCH util/install-packages.R
11 lines
412 B
R
11 lines
412 B
R
## R script to install packages for embedded R
|
|
##
|
|
## to run this script:
|
|
## $ R CMD BATCH install-packages.R
|
|
## $ cat install-packages.Rout
|
|
##
|
|
## personal libs
|
|
dir.create(Sys.getenv("R_LIBS_USER"), showWarnings = FALSE, recursive = TRUE)
|
|
install.packages("Rcpp", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" )
|
|
install.packages("RInside", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" )
|