Importing Vector Graphics: The grImport Package for R
Paul Murrell
Journal of Statistical Software, 2009, vol. 030, issue i04
Abstract:
This article describes an approach to importing vector-based graphical images into statistical software as implemented in a package called grImport for the R statistical computing environment. This approach assumes that an original image can be transformed into a PostScript format (i.e., the original image is in a standard vector graphics format such as PostScript, PDF, or SVG). The grImport package consists of three components: a function for converting PostScript files to an R-specific XML format; a function for reading the XML format into special Picture objects in R; and functions for manipulating and drawing Picture objects. Several examples and applications are presented, including annotating a statistical plot with an imported logo and using imported images as plotting symbols.
Date: 2009-04-29
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v030i04/v30i04.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... rImport_0.4-3.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v030i04/v30i04.R
https://www.jstatsoft.org/index.php/jss/article/do ... /v30i04-examples.zip
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:030:i04
DOI: 10.18637/jss.v030.i04
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().