Build Status CRAN_Status_Badge

loon is an extendible interactive data visualization system designed for exploratory visualization.

Though primarily for exploratory data analysis, it can also be used to develop new interactive analysis and teaching tools. Some sense of the breadth of application and possible extensions can be seen in the various vignettes, demos, and examples in the documentation.

Some sense of the use of loon can be had from the articles, especially the introduction, available here.

Web Documentation

In addition to the R package documentation we also have both TCL and R documentation here.

Once in R, these are accessible from loon as

# Combined TCL and R documentation (a learning document)

# R only manual

l_web(directory = "articles")

# R system documentation
help(package = loon")

vignette(package = "loon")

demo(package = "loon")


The interactive graphics in loon are written on TCL, accessible to R via the tcltk R package. Be sure to have a version of R that includes Tcl/Tk 8.6.6 (which happens by default but might be missing if you have a custom R build).

# The easiest way to install loon

# You could also install the latest development release directly from GitHub
devtools::install_github("great-northern-diver/loon", subdir = "R")
# Or, to ensure you have the vignettes as well 
# (  also accessible via l_web(directory = "articles")  )
devtools::install_github("great-northern-diver/loon", subdir = "R", 
                         build_opts = c("--no-resave-data") )

Other Usage/Installation notes

Getting started

Once loon is installed, work your way through the introductory vignette:

# from the vignette in R
vignette("introduction", package = "loon")
# or via the web
l_web("introduction", directory = "articles")

On the name

The software is named after a large aquatic bird known as the common loon in Canada and the United States, or the great northern diver in the United Kingdom. (Hence the name of the github organization: https://github.com/great-northern-diver)

The loon is a visual predator, diving deep beneath the surface, there chasing its prey with speed and remarkable maneuvrability. Once apprehended, the prey are either swallowed immediately or, when large, at least brought to the surface to be dealt with there.

This seemed an excellent metaphor for an agile, interactive, and exploratory visualization system; one which empowered an analyst to chase, and perhaps discover, whatever features might be revealed in the data by quickly diving below its surface. The goal is to provide such a system in loon.

As an acronym “loon” does not fare so well (least obvious ostensive name) and perhaps its synonym “diver” would be better (direct interactive visual exploration in R). But, then, “loon” is funnier … diveR will be the name of a collection of “loon” related packages.