marxanui: An R package with Marxan user interfaces

 

download marxanui

 

  • run Marxan
  • edit parameters
  • run parameter tests
  • view maps, figures, and tables
  • import your datasets
  • for Windows, Mac and Linux

 

The user interfaces are derived from marxan.io web apps. The marxan.io user guide is a useful reference.

 

Citation

Watts, M.E. 2016. marxanui: An R package with Marxan user interfaces for Windows, Mac and Linux. URL https://github.com/mattwatts/marxanui 10.5281/zenodo.56155

 

Installation

You'll need to install R first which you can get here: R project website

Then download the marxanui R package here: download marxanui

Install the R package on your computer with a command like this:

R CMD INSTALL marxanui_0.1.2.tar.gz

(or install the R package from a local file on your computer with menu commands in R or R Studio)

 

You might also need to install R package dependencies in R like this:

install.packages("doParallel")
install.packages("foreach")
install.packages("foreign")
install.packages("gplots")
install.packages("Hmisc")
install.packages("iptools")
install.packages("labdsv")
install.packages("leaflet")
install.packages("maptools")
install.packages("PBSmapping")
install.packages("png")
install.packages("rgdal")
install.packages("rgeos")
install.packages("rhandsontable")
install.packages("rjson")
install.packages("shiny")
install.packages("shinyBS")
install.packages("sp")
install.packages("sqldf")
install.packages("vegan")
install.packages("xtable")

 

Launching the user interfaces from R

library(marxanui)       # Load the R package

launch_app("import")    # Launch the import app to import your own data

launch_app("marxan")    # Launch the marxan app to run Marxan

launch_app("mxptest")   # Launch the parameter testing app to do BLM, SPF calibration, and target sensitivity testing

launch_app("marzone")   # Launch the marzone app to run MarZone

launch_app("manage")    # Launch the manage app to manage your datasets

 

Contact

Contact Matt Watts with queries about marxanui. Please report all problems.

 

Sample datasets

You can use the sample datasets with marxanui. If your own dataset doesn't work, look at the sample data to see how it's formatted.

sample datasets
Source Type Where Download Dataset
Introduction to Marxan course Marxan   MPA activity
Introduction to Marxan course Marxan Tasmania Tasmania activity *#
Marxan with Zones course Marxan Rottnest Island scenario 1
Marxan with Zones course Marxan Rottnest Island scenario 3 *
Marxan with Zones course MarZone Rottnest Island scenario 4
Marxan with Zones course MarZone Rottnest Island scenario 5
Marxan with Zones course Marxan Cockburn Sound scenario 1
Marxan with Zones course Marxan Cockburn Sound scenario 2
Marxan with Zones course MarZone Cockburn Sound scenario 3
Marxan with Zones course MarZone Cockburn Sound scenario 4
Marxan with Zones course MarZone Cockburn Sound scenario 5
Marxan with Zones course MarZone Cockburn Sound scenario 6
Marxan with Zones course MarZone Cockburn Sound scenario 7
Marxan with Zones course MarZone Cockburn Sound scenario 8

* included with marxanui

#Maps of species in the exercises

 

Open source

You can find the open source code for the app here: marxanui on GitHub

It is released as open source under the AGPLv3GNU AFFERO GENERAL PUBLIC LICENSE VERSION 3