我是 R 的新手。我有一个大约 2.5 GB 的大 csv,有 3 列和 4000 万行。该列的数据类型是整数、日期时间和字符。如何使用 ff 包加载这个 csv?
问问题
537 次
1 回答
0
Well it will give you some idea and use existing links Save and load your bigData ,load big csv file
all <- read.csv("file.csv")
library("ff")
help(read.table.ffdf)
x<- read.csv.ffdf(file="file.csv", header=TRUE, VERBOSE=TRUE, first.rows=10000, next.rows=50000, colClasses=NA)
save.ffdf(ffdfname, dir=”/PATH/TO/STORE/FF/FILES”)
load.ffdf(dir=”/PATH/TO/STORE/FF/FILES”)
hope it will help you.
于 2013-12-12T10:43:19.803 回答