pngBitmap: pngBitmap

Description Usage Arguments Details Author(s) Examples

View source: R/pngBitmap.R

Description

savely opening a png Device

Usage

1
pngBitmap(fileName, ...)

Arguments

fileName

string scalar: the output file name

...

further arguments to png or bitmap

Details

On unix systems without X11 png using a graphics window fails, while on Windows systems bitmap using possibly missing ghostscript fails.

pngBitmap tries both approaches.

Author(s)

Thomas Wutzler

Examples

1
2
3
4
5
if( FALSE ){    # do not execute on INSTALL
    pngBitmap("test1.png")
    plot(1:5,5:1)
    dev.off()
}

twMisc documentation built on May 2, 2019, 6:11 p.m.