<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 2:37 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Keep us posted.</blockquote></div><br>After all that, I ended up with</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">  lapply(lapply(1:length(x[[1]]),</div><div class="gmail_extra">                function(i) lapply(x, function(a) a[[i]])),</div><div class="gmail_extra">         unlist)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Probably fast enough. Its just too painful to deal with the possible types in C/C++. (Browsing the R source shows hundreds of lines of C code to support 'unlist').</div><div class="gmail_extra"><br></div><div class="gmail_extra">THK</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><a href="http://www.keittlab.org/" target="_blank">http://www.keittlab.org/</a></div></div>
</div></div>