Well, there's two ways. if you jus t have a little bit of code, like this function over here, I can click into my R editor, and just hit Ctrl+A, to select all, and Ctrl+C to copy, and I click back into the console, and I can hit Ctrl+V to paste. 