<p>I'm contributing this as an answer because it's rather hard to share an example in the comments field:</p>

<p>Data of 20 rows or fewer seem fine to share inline. One nice way to share R data (similar to <code>datalines</code> in SAS) is using <code>textConnection</code>. This blends the ease of copy-paste executable code and readable data formats. It also doesn't require any external links (many of which are blocked on more restricted computer networks like mine).</p>

<p>As an example: </p>

<pre><code>mydf &lt;- read.table(textConnection("
 Sepal.Length Sepal.Width Petal.Length Petal.Width Species
          5.1         3.5          1.4         0.2  setosa
          4.9         3.0          1.4         0.2  setosa
          4.7         3.2          1.3         0.2  setosa
          4.6         3.1          1.5         0.2  setosa
          5.0         3.6          1.4         0.2  setosa
          5.4         3.9          1.7         0.4  setosa
"), header=T)
</code></pre>
