dput() and dget()
The easiest way to share a (preferable small) data frame is to use a basic function dput(). It will export an R object in a plain text form.
Note: Before making the example data below, make sure you're in an empty folder you can write to. Run getwd() and read ?setwd if you need t...