Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy commands from console

Tags:

r

I use R 3.0.3 in Windows.

How do I copy commands to notepad which I have typed in R console without '>' sign and the output?

The usual method of copy-paste don't work because it will copy the output as well as the '>' sign.

like image 322
hans-t Avatar asked Jun 29 '26 14:06

hans-t


1 Answers

You can't, but what you can do is Paste commands only in GUI (Rgui.exe on Windows). That way, comments are stripped and > removed.

like image 190
Roman Luštrik Avatar answered Jul 02 '26 05:07

Roman Luštrik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!