diff --git a/doc/user/RInside.txt b/doc/user/RInside.txt deleted file mode 100644 index 7fcb37e80..000000000 --- a/doc/user/RInside.txt +++ /dev/null @@ -1,51 +0,0 @@ -Quick guide for developers on getting RInside built -and installed to integrate with GoldenCheetah - -Make sure you have a working GC build already. - -1. install R - -2. install Rcpp - -R> install.packages("Rcpp") -R> q() - -3. install RInside with callback enabled - -$ cd ~ -$ mkdir temp -$ cd temp -$ git clone https://github.com/eddelbuettel/rinside.git RInside -$ vi RInside/inst/include/RInsideConfig.h - -we use vi, but use an editor of your choice -uncomment the line from: -// #define RINSIDE_CALLBACKS - -to look like this: -#define RINSIDE_CALLBACKS - -$ R CMD INSTALL RInside - -The package is now installed and available to embed -within GC, so we can now just delete the temp directory -and contents we just created: - -4. cd .. -5. rm -rf temp - -Now we can build GC with R enabled: - -6. cd -7. vi gcconfig.pri - -we use vi, but use an editor of your choice -add the line: - -DEFINES += GC_WANT_R - -8. qmake -9. make - -All should be good. If its working help>about>version -should show the version of R that is embedded. diff --git a/util/install-packages.R b/util/install-packages.R deleted file mode 100644 index 2048d9ec9..000000000 --- a/util/install-packages.R +++ /dev/null @@ -1,13 +0,0 @@ -## 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) - -##We don't install a standard package anymore, since we need to build it -##with callbacks enabled -##install.packages("RInside", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" ) -install.packages("Rcpp", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" )