[Rcpp-devel] List of Lists to List of Vectors
If I have data like
list(list('a', 1, T), list('b', 2, F), ...)
(list of lists with same types)
and I want to convert to
list(c('a', 'b'), c(1, 2), c(T, F))
(list of vectors)
where the types are not known in advance (its trivial if you know the
sequence of types in advance).
Anyone know how to do that in Rcpp?
THK
http://www.keittlab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150501/29d4f942/attachment.html>