RE: Exporting/Importing S-Plus graphs into Word

Thomson, Peter (PeterT@AGRIC.usyd.edu.au)
Tue, 24 Feb 1998 09:23:28 +1100


Date: Tue, 24 Feb 1998 09:23:28 +1100
From: "Thomson, Peter" <PeterT@AGRIC.usyd.edu.au>
Subject: RE: Exporting/Importing S-Plus graphs into Word
To: "'anzstat@qut.edu.au'" <anzstat@qut.edu.au>

Leanna,

I use the following line successfully:

win.printer(format="metafile",file="clipboard")

Any following graphics will be in the clipboard (in Windows metafile 
format), which you can subsequently paste into Word - or any other 
document - with its high resolution maintained.  You could substitute 
filename.wmf instead of clipboard to save it as a file.  Good luck!

Peter


Dr Peter Thomson
Biometry Unit
Department of Crop Sciences
University of Sydney  NSW  2006
Australia

Tel: + 61 2 9351 4954
Fax: + 61 2 9351 4172
e-mail: PeterT@agric.usyd.edu.au


----------
From:  Tedesco, Leanna[SMTP:TEDESCOL@anz.com]
Sent:  Monday, 23 February 1998 16:24
To:  anzstat@qut.edu.au
Subject:  Exporting/Importing S-Plus graphs into Word


I have a problem regarding importing S-Plus graphs into a Word 
document,
using a
Windows environment.

I have attempted to export a S-Plus graph as an eps file and then 
import
it into Word
as a picture, but the graph magically disappears.  Doing a simple 
copy
and paste results in
terrible resolution and graphics font.  I have previously had success
using a Unix environment
with S-Plus and a Latex document and the results have been wonderful,
but I can't seem to achieve the
same result with my current environment.

Does anyone have a solution to this problem?

Thankyou,

Leanna Tedesco