Hi Guy
Try savePlot("MyPlot", "bmp").
Cheers
Francisco
PS: Hang in there! In the long run the effort to move from S-Plus to R is
definitively worthy!
>From: "Guy Forrester" <ForresterG at landcareresearch.co.nz>
>To: <r-help at stat.math.ethz.ch>
>Subject: [R] Graphics file to disk
>Date: Thu, 12 May 2005 11:08:17 +1200
>
>Dear All,
>
>I have some code that works in S-Plus for writing saving a graphics file to
>disk :-
>
>graphsheet(type = "auto", format = "WMF", file =
"G:\\north0l.wmf",
> pages = "auto", print.background = F,
> orientation="landscape",
> color.style="color")
>
>plot(x,y)
>
>dev.off()
>
>This works fine in S-Plus.
>
>I have tried playing with the 'windows' command in `R' with out
success. I
>would be grateful for any pointers in the right direction
>
>Many thanks in advance
>
>Guy
>
>
>
>
>--------------------------------------------------------
>Guy J Forrester
>Biometrician
>Manaaki Whenua - Landcare Research
>PO Box 69, Lincoln, New Zealand.
>Tel. +64 3 325 6701 x3738
>Fax +64 3 325 2418
>E-mail ForresterG at LandcareResearch.co.nz
>www.LandcareResearch.co.nz
>
>
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>WARNING: This email and any attachments may be confidential and/or
>privileged. They are intended for the addressee only and are not to be
>read,
>used, copied or disseminated by anyone receiving them in error. If you are
>not the intended recipient, please notify the sender by return email and
>delete this message and any attachments.
>
>The views expressed in this email are those of the sender and do not
>necessarily reflect the official views of Landcare Research.
>
>Landcare Research
>http://www.landcareresearch.co.nz
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>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