Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

readPicture

Import an RGML file


Description

This function reads in an RGML file (produced by PostScriptTrace) and creates a "Picture" object.

Usage

readPicture(rgmlFile, tidy = TRUE, ...)

Arguments

rgmlFile

The name of the RGML file.

tidy

Boolean indicating whether to replace non-printing characters in string values with a full stop. The default is TRUE, which is just trying to keep you safe. But I strongly believe in the user's right to live dangerously.

...

Arguments that are passed to xmlTreeParse() for reading the RGML file.

Value

An object of class "Picture".

Author(s)

Paul Murrell

See Also


grImport

Importing Vector Graphics

v0.9-3
GPL (>= 2)
Authors
Paul Murrell [aut, cre], Richard Walton [aut], Simon Potter [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.