Opens a graphic device depending on the file extension.
gfile(filename, width, height, ...)
| filename | path to the image file to create. |
|---|---|
| width | output width |
| height | output height |
| ... | other arguments passed to the relevant device function
such as importFrom grDevices bmp jpeg pdf png svg tiff |