s-news
[Top] [All Lists]

Re: closing graphsheet without dialog appearing

To: Glenn.Treacy@ILIM.COM
Subject: Re: closing graphsheet without dialog appearing
From: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
Date: Mon, 25 Jul 2005 07:31:19 -0500
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <946C68E53B08A84283BD1639AF350BBA01C1AC23@ilife118.ilim.com>
Organization: PDF Solutions, Inc.
References: <946C68E53B08A84283BD1639AF350BBA01C1AC23@ilife118.ilim.com>
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)


Glenn.Treacy@ILIM.COM wrote:
Hi,

I am using S+6.2 on NT4.

I am generating a large number of graphs in S+ and I want to save these to
files and close the graphsheet windows through code. I want to avoid the
dialog box which prompts me to save changes, e.g. "Save Changes to GSD2 in a
file?" when I close the graphshhet with guiClose. I have discovered that if
I save the graphics using guiSave this dialog box doesn't appear. However I
would prefer to use export.graph which gives me more flexibility. I have
tried, without success, to circumvent this problem by altering the
suppress.graphics.warnings in options. Can anyone help?

Regards,
Glenn Treacy


Hi, Glenn,

?graphics.off should help, or possibly ?dev.off.

HTH,

--sundar

<Prev in Thread] Current Thread [Next in Thread>