Package: plotcli 0.3.0

Claas Heuer

plotcli: Command Line Interface Plotting

The 'plotcli' package provides terminal-based plotting in R. It supports colored scatter plots, line plots, bar plots, boxplots, histograms, density plots, heatmaps, and more. The 'ggplotcli()' function is a universal converter that renders any 'ggplot2' plot in the terminal using Unicode Braille characters or ASCII. Features include support for 27 geom types, faceting (facet_wrap/facet_grid), automatic theme detection, legends, optimized color mapping, and multiple canvas types.

Authors:Claas Heuer [aut, cre]

plotcli_0.3.0.tar.gz
plotcli_0.3.0.zip(r-4.7-any)plotcli_0.3.0.zip(r-4.6-any)plotcli_0.3.0.zip(r-4.5-any)
plotcli_0.3.0.tgz(r-4.6-any)plotcli_0.3.0.tgz(r-4.5-any)
plotcli_0.3.0.tar.gz(r-4.7-any)plotcli_0.3.0.tar.gz(r-4.6-any)
plotcli_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
plotcli/json (API)

# Install 'plotcli' in R:
install.packages('plotcli', repos = c('https://cheuerde.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cheuerde/plotcli/issues

On CRAN:

Conda:

6.42 score 19 stars 23 scripts 250 downloads 42 exports 21 dependencies

Last updated from:12b79a6771. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK132
source / vignettesOK176
linux-releaseOK130
macos-releaseOK190
macos-oldrelOK199
windows-develOK99
windows-releaseOK96
windows-oldrelOK93
wasm-releaseOK91

Exports:AsciiCanvasBlockCanvasbraille_dot_bitbraille_set_dotBrailleCanvasbresenhamCanvascat_plot_matrixcbind_plotscolor_to_termcreate_canvascreate_scalesformat_four_charsget_data_subsetget_geom_handlerget_term_colorsggplotcliinit_color_mappingis_brailleis_geom_registeredlist_registered_geomsmake_coloredmake_unique_namesnormalize_datapclibpclibxpclidpclihpclilpclispixel_to_brailleplotcliplotcli_barplotcli_boxplotcli_densityplotcli_histogramplotcli_lineplotcli_optionsplotcli_scatterrbind_plotsregister_geomremove_color_codes

Dependencies:clicpp11crayonfarverggplot2gluegtableisobandlabelinglifecyclemagrittrR6RColorBrewerrlangS7scalesstringistringrvctrsviridisLitewithr

ggplotcli: Universal ggplot2 to Terminal Plotting
Introduction | Basic Usage | Supported Geoms | Scatter Plots (geom_point) | Line Plots (geom_line) | Histograms (geom_histogram) | Density Plots (geom_density) | Bar Charts (geom_col) | Boxplots (geom_boxplot) | Combining Multiple Geoms | Faceting | facet_wrap with Color Aesthetics | facet_grid | Styling Options | Borders and Grid Lines | Theme Auto-Detection | Canvas Types | Color Mapping | Many Groups (8+) | Showcase: Maximum Complexity | Complex Faceted Boxplot | Multi-Layer Scientific Plot | Dense Scatter with Facets | Supported Features Summary

Last update: 2025-11-27
Started: 2025-11-27

plotcli Convenience Wrappers
Using plotcli convenience wrappers | Density plot | Histogram | Scatterplot | Lineplot

Last update: 2025-11-27
Started: 2024-01-05

Using the plotcli R6 Class
Using plotcli R6 class | Setting up a scatter plot with two data sets | Combining Ascii and braille characters

Last update: 2025-11-27
Started: 2024-01-05

Readme and manuals

Help Manual

Help pageTopics
Overload the "+" operator for plotcli objects+.plotcli
ASCII Canvas ClassAsciiCanvas
Block Canvas ClassBlockCanvas
Get Braille dot bit valuebraille_dot_bit
Set a dot in a Braille characterbraille_set_dot
Braille Canvas ClassBrailleCanvas
Bresenham's line algorithmbresenham
Canvas Classes for Terminal PlottingCanvas
Print plot matrixcat_plot_matrix
Combine plot matrices horizontallycbind_plots
Generic function for combining plotcli objects horizontallycbind.plotcli
Convert ggplot2 color to terminal color namecolor_to_term
Create a canvas of the specified typecreate_canvas
Create Scale Object from ggplot_build datacreate_scales
Format number to four charactersformat_four_chars
Geom Registry and Dispatch SystemGeomRegistry
Get data subset for a specific geomget_data_subset
Get a Geom Handlerget_geom_handler
Get terminal colorsget_term_colors
ggplotcli - Render ggplot2 objects in the terminalggplotcli
Initialize color mapping for a set of ggplot colorsinit_color_mapping
Check if a character is a Braille characteris_braille
Check if a Geom is Registeredis_geom_registered
List Registered Geomslist_registered_geoms
Make colored textmake_colored
Make unique namesmake_unique_names
Normalize datanormalize_data
Short version of plotcli_barpclib
Short version of plotcli_boxpclibx
Short version of plotcli_densitypclid
Short version of plotcli_histogrampclih
Short version of plotcli_linepclil
Short version of plotcli_scatterpclis
Convert pixel coordinates to Braille cell and dot positionpixel_to_braille
plotcli R6 Classplotcli
Bar plot using plotcliplotcli_bar
Box plot using plotcliplotcli_box
Density plot using plotcliplotcli_density
Histogram plot using plotcliplotcli_histogram
Line plot using plotcliplotcli_line
Set global options for plotcliplotcli_options
Scatter plot using plotcliplotcli_scatter
Combine plot matrices verticallyrbind_plots
Generic function for combining plotcli objects verticallyrbind.plotcli
Register a Geom Handlerregister_geom
Remove color codes from a stringremove_color_codes