grImport2: Importing 'SVG' Graphics

Functions for importing external vector images and drawing them as part of 'R' plots. This package is different from the 'grImport' package because, where that package imports 'PostScript' format images, this package imports 'SVG' format images. Furthermore, this package imports a specific subset of 'SVG', so external images must be preprocessed using a package like 'rsvg' to produce 'SVG' that this package can import. 'SVG' features that are not supported by 'R' graphics, e.g., gradient fills, can be imported and then exported via the 'gridSVG' package.

Version: 0.3-1
Depends: R (≥ 2.12.0)
Imports: methods, grDevices, grid, XML, png, jpeg, base64enc
Suggests: gridSVG, rsvg
Published: 2023-10-27
DOI: 10.32614/CRAN.package.grImport2
Author: Simon Potter [aut], Paul Murrell ORCID iD [aut, cre]
Maintainer: Paul Murrell <paul at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
CRAN checks: grImport2 results


Reference manual: grImport2.pdf


Package source: grImport2_0.3-1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): grImport2_0.3-1.tgz, r-oldrel (arm64): grImport2_0.3-1.tgz, r-release (x86_64): grImport2_0.3-1.tgz, r-oldrel (x86_64): grImport2_0.3-1.tgz
Old sources: grImport2 archive

Reverse dependencies:

Reverse imports: ggfoundry, HyRiM, piecepackr, RGraphics, RIdeogram, rphylopic, sdam, SDAR
Reverse suggests: ComplexHeatmap, dagLogo, motifStack, pcutils, spiralize


Please use the canonical form to link to this page.