We have a windows installer which will do everything below.
Install R
Download R installer(win, mac, Linux) and install R.
RStudio is recommended but not a must.
Start R
Start R console
from start menu (or RStudio if installed). All code below will run inside it.
Install app
```r install.packages("ctmmweb", repos = c("https://cloud.r-project.org/", "https://ctmm-initiative.github.io/ctmm_repo/"))
```
For latest beta version:
r
if (!require("devtools")) install.packages("devtools")
devtools::install_github("ctmm-initiative/ctmmweb")
Run app
r
ctmmweb::app()
r-base-dev
too.devtools
need libcurl
, ssl
if it's not already installed in your system. You can watch error messages to check what is required. I installed them in Linux Mint 18 with
sudo apt-get install libcurl4-openssl-dev sudo apt-get install libssl-dev
ctmm
need rgdal
, which need another two libraries in linux:
sudo apt-get update && sudo apt-get install libgdal-dev libproj-dev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.