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
# for pkg installation
install.packages('devtools')
# for movr
install.packages(c('dplyr', 'tidyr', 'data.table', 'geosphere', 'deldir', 'RColorBrewer', 'igraph', 'rgl'))
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()"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.