mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Add an 'R' Chart
.. 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
This commit is contained in:
10
util/install-packages.R
Normal file
10
util/install-packages.R
Normal file
@@ -0,0 +1,10 @@
|
||||
## 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" )
|
||||
Reference in New Issue
Block a user