readPicture: Import an RGML file

View source: R/RGML2picture.R

readPictureR Documentation

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

PostScriptTrace


grImport documentation built on March 31, 2023, 6:57 p.m.