Learn R Programming

latexpdf (version 0.1.8)

as.png.data.frame: Coerce to PNG from Data Frame.

Description

Coerces to PNG from 'data.frame'.

Usage

# S3 method for data.frame
as.png(x, replace = TRUE, ...)

Value

path to the file created

Arguments

x

data.frame

replace

whether to delete the intermediate PDF if successful

...

passed to as.pdf.data.frame and to ghostconvert

See Also

as.pdf.data.frame

ghostconvert

Examples

Run this code
if (FALSE) {
browseURL(as.png(head(Theoph), dir = tempdir(), gs_cmd = 'mgs'))
}

Run the code above in your browser using DataLab