Skip to content

grImport2

0.3-3Package record

Importing 'SVG' Graphics

9packages dependsuggested by 7
58.5Kdownloads / year
54.2%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3-3
  • Respond to hjust and vjust (previously ignored).
  • Allow width and height to be NULL (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

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • NOTE12 OK, 1 NOTE2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3-3
READMENoVignettesNoNEWSYes · mentions 0.3-3Citation fileNoWebsiteYes
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

58.5K
CRAN downloads in the past year
Rank #1,836 · ~160/day · ~4.9K/mo
Daily download trend is not available in this view yet.
3.9K30 days
10.9K90 days
58.5K1 year
Compare downloads with other packages →
Also on391 r2u7 autocran4.1K conda_forge108 c2d4u

Repository

PracticesBeta

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.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing grImport2 adds 4 packages (4 with compiled code, 989 KB of source tarballs). Heaviest: XML 937 KB, png 24 KB, jpeg 19 KB.

Depends (1)
R >= 2.12.0
Imports (7)
methodsgrDevicesgridXMLpngjpegbase64enc
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
9direct
3indirect
Imports 9
Suggested by 7
Show all 16 packagesHide all 16 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1-4 (2018)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3-3Latest
    record
    2024-07-30 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3-1
    record
    2023-10-27 · diff ↗
  • 0.3-0
    record
    2023-10-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2-0
    record
    2019-11-25 · diff ↗
  • 0.1-5
    record
    2019-05-06 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1-4
    record
    2018-03-20
  • R
    R 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")
Murrell, P., & Potter, S. (2024). grImport2: Importing 'SVG' Graphics (Version 0.3-3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for grImport2 version 0.3-3 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy