Availability of the PNG Device in R

Yihui Xie 2007-12-24

In some operating systems, a few R graphical devices might not be available, so we have to check the capabilities of devices before writing code for creating image files in case that there should be errors. The function is just capabilities().

I didn’t notice this and was wondering why there were errors in the check summary of my R package animation. Now I understand the reason.