Re: [R] R grahics: Save as hangs computer

From: <>
Date: Fri 05 Jan 2007 - 03:48:30 GMT

Hello list

thanks for that advice Rich. You are right a few control-G allowed me to recover and it had saved an eps file.

The dev.copy2eps appears to take exactly what is visible in the graphics window and convert it to an eps file. This does the job for the moment.

Opening the eps file in GSview I noticed that there is still a lot of white space in the bounding box which creates empty space when I want to include the image into a tex document. Is there a way to crop the image to remove the white space before including it in a document?




|         |    |
|         |                            |
|         |           05/01/2007 10:03 |
|         |                            |

>------------------------------------------------------------------------------------------------------------------------------| | | | To:, | | cc:, | | Subject: Re: [R] R grahics: Save as hangs computer | >------------------------------------------------------------------------------------------------------------------------------|

The good news, you don't have to shut down R. Several control-G in the *R* buffer in emacs will recover control. A second attempt in the same GUI graphics device did get the postscript file saved.

A workaround for this problem is to use the command line, rather than the GUI menu, to save the file. This line


I discovered that it is necessary to set

when running R from emacs as the chmhelp is also freezing R and the help system. I am using R-2.4.1 on Windows.


for details on the command line dev.* commands.

Follow-up should go to the ess-bugs mailing list.

Rich mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Jan 05 16:28:00 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 05 Jan 2007 - 06:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.