Importing 'SVG' Graphics
Overview
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.
- Respond to
hjustandvjust(previously ignored). - Allow
widthandheightto beNULL(in fact those are now the defaults) and fill them in based on image aspect ratio.
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 32
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 25%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 3%
Downloads
Repository
Repository r-forge.r-project.org/projects/grimport is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing grImport2 adds 4 packages (4 with compiled code, 989 KB of source tarballs). Heaviest: XML 937 KB, png 24 KB, jpeg 19 KB.
Show all 16 packagesHide all 16 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3-3Latest
- RR 4.4.0 released · 2024-04-24
- 0.3-12023-10-27 · diff ↗
- 0.3-02023-10-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.2-02019-11-25 · diff ↗
- 0.1-52019-05-06 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.1-42018-03-20
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-03-20
- Total releases
- 6 / 8 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.12.0
- Download size
- 168 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("grImport2")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.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.