title: Writing dataframe as table to clipboard offsets results
body: <p>I have a dataframe that I would like to transfer to Excel through the clipboard.</p>
  
  <p>Using this to copy my dataframe to the clipboard</p>
  
  <pre><code>write.table(df,"clipboard",sep="\t")
  </code></pre>
  
  <p>Instead of the dataframe</p>
  
  <pre><code>                    ts sdThumb sdIndex sdMiddle sdRing sdPinky sdHand
  1  2019-04-03 10:37:00  11.705  12.194   10.213  8.104  11.705 11.705
  2  2019-04-03 10:09:00   5.774   7.743    8.477  7.037   5.774  5.774
  3  2019-04-03 11:46:00   9.543   8.686    8.028  8.015   9.543  9.543
  4  2019-04-03 12:37:00  11.205  12.850   10.107  9.914  11.205 11.205
  
  </code></pre>
  
  <p>I get the following when I paste to Excel</p>
  
  <pre><code>ts  sdThumb sdIndex sdMiddle    sdRing  sdPinky sdHand  
  1   03.04.2019 10:37    11.705  12.194  10.213  8.104   11.705  11.705
  2   03.04.2019 10:09    5.774   7.743   8.477   7.037   5.774   5.774
  3.00    43558.49    9.54    8.69    8.028   8.015   9.543   9.543
  4   03.04.2019 12:37    11.205  12.85   10.107  9.914   11.205  11.205
  </code></pre>
  
  <p>Where row number has been offset to "ts", and the POSIX-time has been offset to sdThumb. Has anyone encountered this sort of problem before?</p>
  
  <p>I suspect the problem is due to using
  <code>write.table()</code>
  but I don't know of a suitable alternative to use.</p>