[R] xyplot (lattice), strip.default
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue May 6 10:40:32 CEST 2003
On Tue, 6 May 2003, Wladimir Eremeev wrote:
> 2. I'd like to produce a .png file with graphs without drawing them on
> the screen.
>
> I try:
> png(filename = "Rplot.png", width = 480, height = 1024, pointsize = 12,
> bg = "white");
>
> trellis.device(device=getOption("png"),
> color = FALSE,
> bg = "white" );
>
> xyplot.... [see above]
>
> But I get the error message:
>
> Error in trellis.device(device = getOption("png"), color = FALSE, bg = "white") :
> couldn't find function "device.call"
>
> Where's the problem?
Thare is no option "png". Look at the help for trellis.device to see what
you should be using as a `device' argument: it even lists how to use the
png() device.
> I use R 1.7.0 and Windows NT 4.0 workstation.
--
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