组合data.tables的列表 [英] Combine a list of data.tables

查看:97
本文介绍了组合data.tables的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一个特定的方法来组合一个data.tables列表在R?

Is there a specific method for combining a list of data.tables in R?

我有一个〜20 data.tables的列表,每个约100万

I have a list of ~20 data.tables, each with around 1 million rows, and would like to combine them into one data.table with 20 million rows.

我一直在使用

Reduce('rbind', data.table)

但需要一段时间。

Tnx!

推荐答案

?rbindlist 和这些相关问题(当您知道要搜索什么时更容易找到!):

See ?rbindlist and these related questions (easier to find when you know what to search for!) :

包含 rbindlist

这篇关于组合data.tables的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆