I have not heard of this or seen it before. I also just tried to
reproduce this on my Mac (but in English) to no avail. Not sure why
this would be occurring and you mentioned both copying plots as
well as text from the console? Can you give me an example plot
(perhaps it is more involved than what I tried:
plot(cars)). Also are you using the "Copy plot
to clipboard" feature or another method to copy and past
it into MS Word.
Yes I used the copy plot to clipbard feature, but sith th issue
I told you.
It is probably a trouble in my own installation, I just wanted to
share in case. thank you for the reply. If I am the onbly one to
experiment this issue, please close the ticket. Sorry for the
convenience and many congratulation again.
I never had any trouble before copying and pasting graphs from
RStudio into Word on my Mac (except that they are lower quality
images as compared to on a PC). however, with the latest version I
installed (0.95.263), I can't seem to copy anything to the
clipboard, either on my old MacBook, or my newer iMac. (nothing is
in the clipboard).
So this isn't directly related (Word doesn't crash), but nothing
happens on the paste. I can try reinstalling everything, but
wondered if there were a more obvious solution.
7 Posted by Guillaume Avenin on 15 Jun, 2012 11:12 AM
I am still experiencing some issues, but i think it is due to a conflict between encoding.
mac os X is in ASCII for french and I cannot in R studio change this setting ( I can make the change outside)
many thanks for your important work
Sorry for the long delay as we were at the annual useR
conference all week and had limited access to email. Jenn are you
also using a language setting different than English? I am actually
still having trouble reproducing either of these problems (the
crash in MS Word or not being able to copy/paste). Would you be
able to post direct instructions (example below), as well as post
the output of the following command:
Example Repro (attempt):
1) Goto "System Preferences | Language and Text | Input Sources"
and select French Keyboard Layout
2) In the console, enter "plot(cars)" to produce a plot
3) In the Plots Pane, go to "Export | Copy Plot to Clipboard"
4) Go to MS Word
5) Right-Click and paste
11 Posted by Jennifer Williams on 08 Jul, 2012 05:15 AM
This is probably too far removed from the original thread. I've always
been able to copy & paste from RStudio into another document (word,
power point, etc.), but the image quality is terrible, unlike when I
copy & paste straight from R (as shown in the document I sent). This is
only true on my Mac (but not on my old PC). It's fine, I can save the
images as pdfs or tiffs in Rstudio and then insert them into the file,
but often it means that I work in RStudio up to the point I need graphs,
and then switch back to R. Just takes longer when I'm trying to produce
a file that's a compilation of graphs as a summary of a project
(obviously manuscripts need higher quality images).
Ahh okay. Must have gotten this mixed up at some point. I see
what you are saying about the different quality levels and this is
because of the two different graphics devices. The RStudio graphics
devices renders png's while the default device for R on the Mac is
the quartz device.
Otherwise as default in RStudio, you could also try exporting
them as a different file type such as Postscript rather than
copying to clipboard. I can create a feature request though to
allow changing the resolution, etc. with the export option in