A function to easily copy data into R from a spreadsheet. This should not be used within a reproducible work flow, instead it should only be used on an ad-hoc basis (note: I'm not aware of the original author of this function, it was taken directly from a stack overflow answer)
a logical indicating if a header has been copied
other read.table options
a data.frame consisting of data copied to clipboard
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.