Learn R Programming

quickPlot

Built on top of grid, this package aims at making a high-level plotting system that is optimized for speed and modularity. This has great utility for quick visualizations when testing code, with the key benefit that visualizations are updated independently of one another.

Installation

The suggested package fastshp can be installed with:

install.packages("fastshp", repos = "https://rforge.net", type = "source") or for binary:
install.packages('fastshp', repos = 'https://PredictiveEcology.r-universe.dev')

Building packages from source requires the appropriate development libraries for your operating system (e.g., Windows users should install Rtools).

Current stable release

Install from CRAN:

install.packages("quickPlot")

Install from GitHub:

# install.packages("remotes")
remotes::install_github("PredictiveEcology/quickPlot", dependencies = TRUE)

Development version (unstable)

Install from GitHub:

# install.packages("remotes")
remotes::install_github("PredictiveEcology/quickPlot@development", dependencies = TRUE)

Copy Link

Version

Install

install.packages('quickPlot')

Monthly Downloads

543

Version

1.0.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eliot J B

Last Published

July 14th, 2025

Functions in quickPlot (1.0.4)

layerNames

Extract the layer names of Spatial Objects
isRstudioServer

Determine if current session is RStudio Server
.hasBbox

Test whether class has bbox method
.identifyGrobToPlot

Identify where to get the grob from
.parOrig

Default plotting parameters
.objectNames

Extracts the object names
.makeColorMatrix

Convert Raster to colour matrix usable by raster function for plotting
extent

Get extent of a variety of spatial objects
getColors

Get and set colours for plotting Raster* objects
gpar

Importing some grid functions
makeLines

Make SpatialLines object from two SpatialPoints objects
.existsQuickPlot

Is an object defined in the .quickPlotEnv environment?
.makeLayout

Make an optimal layout of plots
.makeList

Convert plotArgs to list of lists
quickPlot-package

The quickPlot package
.quickPlotEnv

The quickPlot environment
.prepareRaster

Prepare raster for plotting
.plotGrob

Plot spatial grobs (using grid package)
quickPlotClasses

quickPlot classes
.quickPlot-class

The .quickPlot class
.getQuickPlot

Get objects from the internal quickPlot environment
fortify

Fortify
.updateQuickPlot

Merge two quickPlot objects
whereInStack

Find the environment in the call stack that contains an object by name
.parseElems

Parsing of elements
newPlot

Open a new plotting window
numLayers

Find the number of layers in an object
.parseArgs

Parse arguments and find environments
sample-maps

Dummy maps included with quickPlot
clickValues

Mouse interactions with Plots
.makeViewports

Make viewports
sp2sl

Convert pairs of coordinates to SpatialLines
thin

Thin a polygon
.makeQuickPlot

Make a .quickPlot class object
.quickPlotGrob-class

The .quickPlotGrob class
.unittrim

Convert grid.locator units
.assignQuickPlot

Assign to the internal quickPlot environment.
divergentColors

Divergent colour palette
equalExtent

Assess whether a list of extents are all equal
dev

Specify where to plot
Plot

Plot: Fast, optimally arranged, multi-panel plotting
coordinates

Extract coordinates from a variety of spatial objects
clearPlot

Clear plotting device
.arrangeViewports

Determine optimal plotting arrangement of plot objects
.preparePlotGrob

Internal functions used by Plot
.arrangement-class

The .arrangement class