How can I copy and paste data into R? For example, you see a small data set on the web, perhaps in a blog or here on StackOverflow, and you want that data set in your R session. This is a common task for many of us, and there are several ways to go about. Below I present a solution based on this blog post that I have found useful.
This question has of course been asked before, for example here and here however, these posts are rather old and overcrowded which makes finding a short working answer difficult.