Skip to contents

A unified R graphics backend. Render R graphics fast and easy to many common file formats.

This package provides a thread-safe interface to power interactive graphics clients such as httpgd.

Features

  • Fast plotting
  • Plot resizing and history
  • Render to various image formats (SVG, PNG, PDF, EPS, …)
  • In-memory access to rendered graphics
  • Platform independent
  • Stateless thread-safe C client API for package developers

Installation

Install unigd from CRAN:

Or get the latest development version from GitHub:

remotes::install_github("nx10/unigd")

See system requirements for troubleshooting.

Getting started

See the guide for more details.

Contributions welcome!

unigd is mostly written in C++, but contributions to the tests (in R) or the documentation are also always welcome!

About & License

Depends on cpp11 and systemfonts.

Much of the font handling and SVG rendering code is modified code from the excellent svglite package.

This project is licensed GPL v2.0.

It includes parts of svglite (GPL ≥ 2) and fmt (MIT).

Full copies of the license agreements used by these components are included in ./inst/licenses.