[R] initialising trellis device {lattice}/ postscript

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Mar 14 08:27:30 CET 2005


McClatchie, Sam (PIRSA-SARDI) wrote:
> Background:
> OS: Linux Mandrake 10.1
> release: R 2.0.0
> editor: GNU Emacs 21.3.2
> front-end: ESS 5.2.3
> ---------------------------------
> 
> Colleagues
> 
> I am using:
> trellis.device(postscript, file="../figures/name.ps")
> .....code to generate the trellis display here ....
> graphics.off()
> 
> to create a postscript from a working xyplot display.
> 
> The problem is that the postscript file appears to be blank
> 
> I haven't done anything fancy to modify the defaults. Does anyone have a
> suggestion as to what might be wrong?


Works for me with a recent version of R and lattice given ".....code to 
generate the trellis display here ...." is correct and gets printed. 
Please specify a reproducible example as the posting guide asks you to do.

Uwe Ligges



> Thanks
> 
> Sam
> ----
> Sam McClatchie,
> Biological oceanography 
> South Australian Aquatic Sciences Centre
> PO Box 120, Henley Beach 5022
> Adelaide, South Australia
> email <mcclatchie.sam at saugov.sa.gov.au>
> Telephone: (61-8) 8207 5448
> FAX: (61-8) 8200 2481
> Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
>   
>                    /\
>       ...>><xX(°> 
>                 //// \\\\
>                    <°)Xx><<
>               /////  \\\\\\
>                         ><(((°> 
>   >><(((°>   ...>><xX(°>O<°)Xx><<
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list