[R] Make playwith a default graphic device

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Oct 14 10:45:58 CEST 2007


You seem to be under the misapprehension that playwith() is a graphics 
device: it is not.

To set a graphics device as the default, use options(device=).  I am not 
sure what 'more functionalities' you are looking for: the playwith() uses 
the cairoDevice package for its graphics device, and there is also the 
Cairo package.

On Sat, 13 Oct 2007, Ronaldo Reis Junior wrote:

> Hi,
>
> I looking for a graphic device on Linux with more functionalities than the X11
> (). I find the plotAndPlayGTK package and the playwith function. It is a good
> device. It is possible to make it default in my system.

Did you mean that to be a question?

> Now I need:
>
>> library(plotAndPlayGTK )
> Loading required package: RGtk2
> Loading required package: cairoDevice
>>
>> playwith(plot(1,1))
> Error in plot.new() : figure margins too large
>
> I got this error above, I dont know why? But in the device I edit call ant it
> work.
>
> But I try to put it default and make a more simple use llike this:
>
> plot(1,1) and it use a playwith device to make a plot.
>
> It is possible?
>
> Thanks
> Ronaldo
> --
>> Prof. Ronaldo Reis Júnior
> |  .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Biologia Computacional
> | : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
> | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
> |   `- Fone: (38) 3229-8187 | ronaldo.reis at unimontes.br | chrysopa at gmail.com
> | http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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