| Authors: | Paul Murrell |
| Title: | [download] (3892)Importing Vector Graphics: The grImport Package for R |
| Reference: | Vol. 30, Issue 4, Apr 2009 Submitted 2008-11-16, Accepted 2009-02-27 |
| Type: | Article |
| 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. |
| Paper: | [download] (3892)Importing Vector Graphics: The grImport Package for R (application/pdf, 1.6 MB) |
| Supplements: | [download] (970)grImport_0.4-3.tar.gz: R source package (application/x-gzip, 997.6 KB) |
| [download] (1005)v30i04.R: R example code from the paper (application/octet-stream, 8 KB) |
|
| [download] (1059)v30i04-examples.zip: Full resources for all examples from the paper (application/zip, 1 MB) |
|
| Resources: | BibTeX | OAI |
