[Rd] R not responding (must force quit) when saving graphic to PDF (bug?)

Neil French Collier neilandertal at gmail.com
Mon Apr 11 18:37:35 CEST 2016

Dear colleagues,

I wish to report a problem I encounter when trying to save a graphic to
file. When I produce a graphic and try to save it R becomes unresponsive
and I must force quit, and then restart R. The problem occurs when I try to
overwrite an existing graphic: for example when I made changes to the
graphic and want to save the graphic using the original file name. It only
happens when I use the menus to save files, not using script. It doesn't
happen when I save it as a new file. So, like this:

1. Make the graphic
2. Click File -> Save -> click on existing file name
3. Colour wheel appears and R is unresponsive.

Reproducible example:

x <- seq(1,10)
y <- x^2
plot(x,y, type="l") # Save as new file, all fine.

#Change plot and save as old plot file name:

plot(x,y, type="l", col=2)

# Click File -> Save
# 'Save quartz to PDF file' box opens
# Click on existing file name
# Colour wheel

Here is the sessionInfo():

R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.1 (El Capitan)

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

I'm not sure if this is worthy of reporting but I was encouraged to submit
a report. It doesn't really make a huge impact on my workflow, but it can
be annoying.



Neil French Collier, PhD
Faculty of Sustainability
Leuphana University Lüneburg
Rotenbleicher Weg 67
21335 Lueneburg

Twitter: @foodsecbio
email: collier at leuphana.de
Google Scholar
Ideas for Sustainability <https://ideas4sustainability.wordpress.com>

	[[alternative HTML version deleted]]

More information about the R-devel mailing list