Automatic installation

Using the devtools package, we can install from github directly:

devtools::install_github("dekoning-lab/PalantiR")

Manual installation

First, clone the repository:

git clone https://github.com/dekoning-lab/PalantiR.git

Install the dependencies:

install.packages(c("RcppArmadillo", "htmlwidgets"))

MacOS

On MacOS, it might be necessary to install a gfortran compiler for the linear algebra libraries. Binaries are available from CRAN tools.

Building

If using RStudio, hit “Build & Reload”.

Otherwise, navigate to one directory above PalantiR, and run:

R CMD INSTALL --preclean --no-multiarch --with-keep.source PalantiR

Then, in a new R session, run:

library(PalantiR)