Displaying 1 result from an estimated 1 matches for "graphicsformatinfo".
2007 Jul 18
0
Saving R graphics as various file types.
...o
jpeg(), or no ImageMagick, then you're stuck, and jpeg output is no
longer an option.
How would this work in practice? Let's think:
> library(graphicsFormats)
> graphicsFormats()
[1] "png" "pdf" "eps" "tiff" "svg"
> graphicsFormatInfo("png")
[1] "png ; portable network graphics" "raster"
> graphicsFormatSupport("jpeg")
Warning message:
No jpeg support in capabilities() and no Cairo package present
[1] FALSE
And then the all important:
> convertTo("png",filePr...