You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy-and-paste from console no longer maintains the formatting #8400
RStudio Edition : Desktop
RStudio Version : 1.3.1093 and 1.4.1032
OS Version : Windows 10 (also Ubuntu 20 & Red Hat 8)
R Version : 4.0.3
Steps to reproduce the problem
In the console:
x <- 1
x
Copy the code and output
Paste in a Word document.
Describe the problem in detail
None of the paste options result in pasting the text with formatting.
Paste default/option 1 (cell contents)
Paste option 2 (entire cell)
Paste option 3 (keep text only)
Describe the behavior you expected
The text should be pasted with the formatting. This was the case in 1.2.5042 on Windows 10.
Note:
This used to work on Windows in 1.2, but does not in 1.3 and 1.4.
This isn't working in 1.4 on Ubuntu and Red Hat with LibreOffice Writer and Calc, which is resulting in an empty one-column table. In 1.2.5042, on Ubuntu 16, the paste resulted in formatted text inside a table.
On Mac, pasting results in unformatted text, but at least it pastes. This is true for 1.2, 1.3, and 1.4.
I'm running into this problem too. Used to be able to copy-and-paste output into a Canvas discussion but no more. As a workaround, I've been running R outside of RStudio.
Activity
martinrd3D commentedon Dec 29, 2020
I also have this very annoying problem, and cannot copy/paste into body of a gmail.
Doug Martin
madsenl commentedon Jan 9, 2022
I'm running into this problem too. Used to be able to copy-and-paste output into a Canvas discussion but no more. As a workaround, I've been running R outside of RStudio.
kevinushey commentedon Jan 10, 2022
It would be worth checking what the behavior here is with Electron.