Is there any ess
function that does the following? Assume you have the line in Emacs like this
1 2 3 4
then once selected (e.g., using the mouse), it is transformed into
c(1,2,3,4)
It would be a wonderful tool. I copy and paste stuff that I transform into vectors quite often. Also, it would be great to have a function that if you select
A B C D E
it produces
"A", "B", "C", "D", "E"