Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
[test by reto]
Authors: Paul Murrell
Title: Importing Vector Graphics: The grImport Package for R
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.

Page views:: 7886. Submitted: 2008-11-16. Published: 2009-04-29.
Paper: Importing Vector Graphics: The grImport Package for R     Download PDF (Downloads: 6846)
grImport_0.4-3.tar.gz: R source package Download (Downloads: 1418; 997KB)
v30i04.R: R example code from the paper Download (Downloads: 1503; 8KB) Full resources for all examples from the paper Download (Downloads: 1824; 1MB)

DOI: 10.18637/jss.v030.i04

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.