Package: grImport2 0.3-3

Paul Murrell

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.

Authors:Simon Potter [aut], Paul Murrell [aut, cre]

grImport2_0.3-3.tar.gz
grImport2_0.3-3.zip(r-4.5)grImport2_0.3-3.zip(r-4.4)grImport2_0.3-3.zip(r-4.3)
grImport2_0.3-3.tgz(r-4.4-any)grImport2_0.3-3.tgz(r-4.3-any)
grImport2_0.3-3.tar.gz(r-4.5-noble)grImport2_0.3-3.tar.gz(r-4.4-noble)
grImport2_0.3-3.tgz(r-4.4-emscripten)grImport2_0.3-3.tgz(r-4.3-emscripten)
grImport2.pdf |grImport2.html
grImport2/json (API)
NEWS

# Install 'grImport2' in R:
install.packages('grImport2', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/grimport

On CRAN:

5.77 score 14 packages 80 scripts 2.9k downloads 13 exports 4 dependencies

Last updated 4 months agofrom:7fa7711394. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 23 2024
R-4.5-winOKOct 23 2024
R-4.5-linuxOKOct 23 2024
R-4.4-winOKOct 23 2024
R-4.4-macOKOct 23 2024
R-4.3-winOKOct 23 2024
R-4.3-macOKOct 23 2024

Exports:applyTransformclosePathcurveTogetDefgrid.picturegrid.symbolsgrobifylineTomoveTopictureGrobreadPicturesetDefsymbolsGrob

Dependencies:base64encjpegpngXML

Readme and manuals

Help Manual

Help pageTopics
Transform a Picture Object by a Transformation MatrixapplyTransform
Transform a grid 'gpar' objectapplyTransform,gpar,matrix-method
Draw a Picture Object.grid.picture pictureGrob
Draw a Picture Object as Data Symbolsgrid.symbols symbolsGrob
Convert a Picture Object into a grid grobgrobify
Convenience Functions for Path SegmentsclosePath curveTo lineTo moveTo
Class '"PathClosePath"'PathClosePath-class
Class '"PathCurveTo"'PathCurveTo-class
Class '"PathData"'applyTransform,PathData,matrix-method PathData-class
Class '"PathLineTo"'PathLineTo-class
Class '"PathMoveTo"'PathMoveTo-class
Class '"PathSegment"'applyTransform,PathSegment,matrix-method PathSegment-class
Class "Picture"applyTransform,Picture,matrix-method grobify,Picture-method Picture-class [,Picture-method [[,Picture-method
Class '"PictureClipPath"'applyTransform,PictureClipPath,matrix-method grobify,PictureClipPath-method PictureClipPath-class
Class '"PictureContent"'PictureContent-class
Class '"PictureDefinitions"'getDef getDef,character-method getDef-methods PictureDefinitions-class setDef setDef,character,PictureContent-method setDef-methods
Class '"PictureFeColorMatrix"'grobify,PictureFeColorMatrix-method PictureFeColorMatrix-class
Class '"PictureFeComposite"'grobify,PictureFeComposite-method PictureFeComposite-class
Class '"PictureFeImage"'grobify,PictureFeImage-method PictureFeImage-class
Class '"PictureFilter"'grobify,PictureFilter-method PictureFilter-class
Class '"PictureGradientStop"'grobify,PictureGradientStop-method PictureGradientStop-class
Class '"PictureGroup"'applyTransform,PictureGroup,matrix-method grobify,PictureGroup-method PictureGroup-class [,PictureGroup-method [[,PictureGroup-method
Class '"PictureImage"'applyTransform,PictureImage,matrix-method grobify,PictureImage-method PictureImage-class
Class "PictureLinearGradient"applyTransform,PictureLinearGradient,matrix-method grobify,PictureLinearGradient-method PictureLinearGradient-class
Class '"PictureMask"'applyTransform,PictureMask,matrix-method grobify,PictureMask-method PictureMask-class
Class '"PicturePath"'applyTransform,PicturePath,matrix-method grobify,PicturePath-method PicturePath-class
Class '"PicturePattern"'applyTransform,PicturePattern,matrix-method grobify,PicturePattern-method PicturePattern-class
Class "PictureRadialGradient"applyTransform,PictureRadialGradient,matrix-method grobify,PictureRadialGradient-method PictureRadialGradient-class
Class '"PictureRect"'applyTransform,PictureRect,matrix-method grobify,PictureRect-method PictureRect-class
Class "PictureSummary"PictureSummary-class
Class '"PictureSymbol"'PictureSymbol-class
Import a Cairo SVG imagereadPicture