Learn R Programming

terminalgraphics (version 0.1.1)

raster2terminal: Dump an image raster to the terminal

Description

Dump an image raster to the terminal

Usage

raster2terminal(raster, method = c("auto", "tgp", "sixel"), ...)

Value

Called for it's side effect of writing the image to the terminal (standard out). Returns NULL invisibly.

Arguments

raster

the image 'raster' e.g. the output of as.raster.

method

method with which the graphical output is written to the terminal. In case of 'auto', it is first checked if the Terminal Graphics Protocol is supported and if so, this is used. Otherwise, Sixel is used.

...

passed on to the underlying method such as raster2tgp and raster2sixel.

See Also

See raster2tgp for output in Terminal Graphics Protocol. See raster2sixel for output in Sixel format.