fixed/ [R] initialising trellis device {lattice}/ postscript
Thanks Andy out<- xyplot(....) print(out) did the trick nicely. 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><<
-----Original Message-----
From: Liaw, Andy [mailto:andy_liaw at merck.com]
Sent: Monday, 14 March 2005 10:52 AM
To: 'McClatchie, Sam (PIRSA-SARDI)'
Subject: RE: [R] initialising trellis device {lattice}/ postscript
Could it be that you need to wrap the xyplot() call in print()?
Andy
From: McClatchie, Sam (PIRSA-SARDI) 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? 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
--------------------------------------------------------------- --------------- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. --------------------------------------------------------------- ---------------