gfile: Open a File Graphic Device

View source: R/utils.R

gfileR Documentation

Open a File Graphic Device

Description

Opens a graphic device depending on the file extension.

Usage

gfile(filename, width, height, ...)

Arguments

filename

path to the image file to create.

width

output width

height

output height

...

other arguments passed to the relevant device function such as png or pdf.

importFrom grDevices bmp jpeg pdf png svg tiff

Value

The value of the called device function.


pkgmaker documentation built on May 3, 2023, 5:08 p.m.

Related to gfile in pkgmaker...