Skip to content

terminalgraphics

0.3.0Package record

Graphical Output in Terminals

0packages depend
3.2Kdownloads / year
9.0%test coverage
13/13flavors OK

Overview

About

Defines a graphics device and functions for graphical output in terminal emulators that support graphical output. Currently terminals that support the Terminal Graphics Protocol (https://sw.kovidgoyal.net/kitty/graphics-protocol/) and terminal supporting Sixel (https://en.wikipedia.org/wiki/Sixel) are supported.

Changes in 0.3.0

New Features

  • When the size of the terminal changes new plots (e.g. when calling implicitly or explicitly new.plot) will rescale to follow the size of the new terminal. This happens only when the width and height of the plot were *not* explicitly set. Note that after resizing the terminal updates to a new plot will not resize the plot.

Bug fixes

  • Support for Terminal Graphics Protocol and Sixel was not properly detected in Vim and NVim terminals. In NVim this even caused the terminal to hang. Code now checks if it is running in such a terminal. Graphics output is not supported in these terminals, but at least now this is detected properly.
  • Sixel support is now detected when running in tmux for terminals that support sixel.
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
  • term_palette() no longer gives an error and returns the default palette, when run in kitty with remote control disabled.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • WARNING12 OK, 1 WARNING2026-06-08
  • OK13 OK2026-05-10
Show 4 earlier changesHide 4 earlier changes
  • WARNING12 OK, 1 WARNING2026-05-09
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 635 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
18
Examples that run
100%8 run in a plain check
Exported functions with examples
44%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.2K
CRAN downloads in the past year
Rank #13,003 · ~9/day · ~268/mo
Daily download trend is not available in this view yet.
26530 days
88290 days
3.2K1 year
Compare downloads with other packages →
Also on382 r2u3 autocran

Repository

11Stars
1Forks
0Open issues
0Open PRs
79Commits
7Commit identities
79 commits · Last activity 2026-05-01
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only
PracticesBeta

Repository codeberg.org/djvanderlaan/terminalgraphics is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing terminalgraphics adds 11 packages (9 with compiled code, 17 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, jsonlite 1.0 MB.

Depends (1)
R >= 4.1.0
Imports (7)
RcpputilsmethodsgraphicsgrDevicesraggbase64enc
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.1 (2025)
Contributor · added in 0.2.0
Releases (4)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-05-01 · current release · diff ↗ ·
    added 3 exports
    is_nvim, is_tmux, is_vim
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1
    record
    2025-11-26 · diff ↗
  • 0.2.0
    record
    2025-11-25 · diff ↗ ·
    added 2 exports
    is_ghostty, term_color_mode
  • 0.1.1
    record
    2025-08-28
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-08-28
Total releases
4 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
23 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("terminalgraphics")
van der Laan, J., & Kelkhoff, D. (2026). terminalgraphics: Graphical Output in Terminals (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.terminalgraphics

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for terminalgraphics version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy