Skip to content

making a dataframe out of lapply() result

1 message · Remko Duursma

#
Mahbub's solution 

data.frame(t(sapply(...)))

is much faster than

do.call("rbind", lapply(...))

as tested on a larger dataset.

Thanks everyone,

Remko Duursma
--

On Tue, 15 Apr 2003 22:10:28
Mahbub Latif wrote: