INSTALL.md

Install Movr

Prerequisites

On Ubuntu

> sudo apt-get install cmake pkg-config libglib2.0-dev libglpk-dev libgmp-dev libopengl-dev

On Mac OS X

> brew install cmake pkg-config glib glpk

Install

  1. Install dependencies
# for pkg installation
install.packages('devtools')

# for movr
install.packages(c('dplyr', 'tidyr', 'data.table', 'geosphere', 'deldir', 'RColorBrewer', 'igraph', 'rgl'))
  1. Install movr

a. From github

library(devtools)
install_github("caesar0301/movr")

b. From source code

# Build C source
./configure

# Check package compliance
R CMD check .

# Run examples
R --no-save -e "library(devtools);run_examples()"

# Install
R --no-save -e "library(devtools);install()"


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.