title: Loop overwrites output
body: <p>I have a list of objects and i want to serialze the objects because I want to add them in a dataframe. My problem is, when I execute the following loop, that the output is a long raw()-vector with all objects together. Its shows something like that: <code>[1] 58 0a 00 00 00 03 00 04 00 03 00 03 05 00 00 00 00 05 55 54 46 2d 38 00 01 03 19 00 00 04 02 00 [33] 00 00 01 00 04 00 09 00 00 00 04 6d 65 74 61 00 00 02 13 00 00 00 03 00 00 00 10 00 00 00 01 00 [65] 04 00 09 00 00 00 24 49 6e 43 68 49 4b 65 79 3d 44 53 42 58 43 4d 53 44 48 51 53</code></p>
  <p>The output seems to be overwritten in each loop.</p>
  <pre><code>objects #list of objects
  for (i in 1:length(objects)) {
    output &lt;- serialize(objects[[i]],connection=NULL)
    }
  output
  </code></pre>
  <p>I want to have each object serialize at its own and add the output in a dataframe. I have not found any solution on my specific problem.</p>