[R] how to check "capabilities" of an graphics device?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 24 18:37:34 CET 2014


On 24/03/2014 12:16, Pascal Oettli wrote:
> Hello,
>
> You can check the output of:
>
> R> capabilities(what = NULL)

You can, but dev.capabilities() will be more useful.

>
> Regards,
> Pascal
>
> On Mon, Mar 24, 2014 at 8:57 PM, Witold E Wolski <wewolski at gmail.com> wrote:
>> Before plotting to an device, I would like check which
>> capabilities/properties it has to avoid
>> warnings such as:
>>
>> In plot.xy(xy, type, ...) :
>>    semi-transparency is not supported on this device: reported only once per page



-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list