Skip to contents

Get a list of available renderers. This function will only work after starting a device with ugd().

Usage

ugd_renderers()

Value

List of renderers with the following named items: $id: Renderer ID, $mime: File mime type, $ext: File extension, $name: Human readable name, $type: Renderer type (currently either plot or other), $bin: Is the file a binary blob or text.

Examples


ugd_renderers()
#>            id                   mime   ext          name type  text
#> 1        tiff             image/tiff .tiff          TIFF plot FALSE
#> 2         svg          image/svg+xml  .svg           SVG plot  TRUE
#> 3        json       application/json .json          JSON plot  TRUE
#> 4         pdf        application/pdf  .pdf           PDF plot FALSE
#> 5     strings             text/plain  .txt       Strings data  TRUE
#> 6        meta       application/json .json          Meta data  TRUE
#> 7        svgz          image/svg+xml .svgz          SVGZ plot FALSE
#> 8        svgp          image/svg+xml  .svg  Portable SVG plot  TRUE
#> 9        tikz             text/plain  .tex          TikZ plot  TRUE
#> 10         ps application/postscript   .ps            PS plot  TRUE
#> 11        eps application/postscript  .eps           EPS plot  TRUE
#> 12        png              image/png  .png           PNG plot FALSE
#> 13      svgzp          image/svg+xml .svgz Portable SVGZ plot FALSE
#> 14 png-base64             text/plain  .txt    Base64 PNG plot  TRUE
#>                                                        descr
#> 1                           Tagged Image File Format (TIFF).
#> 2                            Scalable Vector Graphics (SVG).
#> 3                       Plot data serialized to JSON format.
#> 4                      Adobe Portable Document Format (PDF).
#> 5                         List of strings contained in plot.
#> 6                                     Plot meta information.
#> 7                Compressed Scalable Vector Graphics (SVGZ).
#> 8   Version of the SVG renderer that produces portable SVGs.
#> 9                                           LaTeX TikZ code.
#> 10                                          PostScript (PS).
#> 11                            Encapsulated PostScript (EPS).
#> 12                          Portable Network Graphics (PNG).
#> 13 Version of the SVG renderer that produces portable SVGZs.
#> 14           Base64 encoded Portable Network Graphics (PNG).