Installation

Installing Longterm with R or Python

Installation the longterm package in R or Python is simple.

# From inside R, run:
install.packages("longterm")
# At the terminal, run:
pip install longterm

So is loading longterm and running a simulation.

library(longterm)
output <- longterm()
import longterm
output = longterm.run()

Running this command will cause the following plots to display.

Preindustrial control

The simulation above is boring because we have not specified any perturbations to the climate system. For more interesting simulations, see Examples.