Installing R/RStudio (& XQuartz)

To get started, you will first need to download R, RStudio, and XQuartz (mac users only).


Install R and RStudio (& XQuartz for mac users)

Download the latest version of R by visiting and selecting a mirror to download R. Download the latest version of R Studio by visiting and go to download.

R     RStudio

To get started with using R/RStudio, check out our brief introductory R tutorial:


Image result for xquartz

For mac users only, X11 (including tcltk) requires XQuartz to be installed since it is no longer part of OS X. Always re-install XQuartz when upgrading your macOS to a new major version.

Install XQuartz

Installing Spectre

Spectre is a package provided for use in R/RStudio. By default, you can download Spectre from our Github page. This page will be updated once our default installation location changes to CRAN or Bioconductor.


DEFAULT: install from Github


Instructions for install and updating Spectre from Github (current default choice) is described below on this page. 

Install from Github

To get started, you can also check out our 'about Spectre' page and Spectre tutorial:



Alternative installations

Install from Docker

Install a 'container' version of Spectre using Docker, that contains a pre-built environment with all the required packages necessary to use Spectre.

Install from Docker

Install a development version of Spectre (including the 'spatial analysis' branch)

If you are interested in testing new features, or contributing your own, you can also install the development version of Spectre from Github. We suggested using in conjunction with our developers guide.

Install Dev. Version

  • No labels