Note: we recommend installing package directly from CRAN
Installation should be straightforward.
Specify commit, tag, or branch name using ref argument. Defaults to "master".
Run in R:
devtools::install_github("gmum/gmum.r", ref="dev")
Then load package for use:
library(gmum.r)
Go to project root directory and run following commands
mkdir build
cd build
cmake ..
make
make install
cd ..
Now u can use library from R
library(devtools)
devtools::load_all()
...
Please download appropriate version of Rtools.
Specify commit, tag, or branch name using ref argument. Defaults to "master".
Run R matching your CPU architecture (x64 vs x86)
devtools::install_github("gmum/gmum.r", ref="dev", args="--no-lock --no-multiarch")
To build both x64 and x86 run:
devtools::install_github("gmum/gmum.r", ref="dev", args="--no-lock --preclean")
Then load package for use:
library(gmum.r)
- If you have non-english letters in home path please consider installing from administrator cmd.
R CMD INSTALL . --no-lock --no-multiarch --preclean --library=<path_to_your_R_library_folder>
, where path might be C:\Program Files\R\R-3.1.2\library"
.