Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.38 KB

README.md

File metadata and controls

75 lines (50 loc) · 1.38 KB

Manual latest version installation

Note: we recommend installing package directly from CRAN

Linux/MacOS

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)

Compile with CMake

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()
...

Windows

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)

Known issues:

  • 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".