hans-t
hans-t

Reputation: 3223

Copy commands from console

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.

Upvotes: 3

Views: 2690

Answers (1)

Roman Luštrik
Roman Luštrik

Reputation: 70643

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.

Upvotes: 2

Related Questions