bigreadr:R包基于split + data.table读取大型文本文件

时间:2021-05-15 23:33:39
【文件属性】:
文件名称:bigreadr:R包基于split + data.table读取大型文本文件
文件大小:203KB
文件格式:ZIP
更新时间:2021-05-15 23:33:39
r-package read-csv large-dataset R R包{bigreadr} 读取基于data.table::fread + data.table::fread大型文本文件 例子 # remotes::install_github("privefl/bigreadr") library(bigreadr) # Create a temporary file of ~141 MB (just as an example) csv <- fwrite2(iris[rep(seq_len(nrow(iris)), 1e4), rep(1:5, 4)], tempfile()) format(file.size(csv), big.mark = ",") ## Splitting lines (1) # Read (by parts) all data -> using `fread` would be faster nlines(csv)
【文件预览】:
bigreadr-master
----codecov.yml(176B)
----_pkgdown.yml(0B)
----vignettes()
--------csv2sqlite.Rmd(2KB)
----NAMESPACE(473B)
----tmp-tests()
--------test-setvbuf4.cpp(1KB)
--------has-header.R(250B)
--------bench-read2.R(2KB)
--------test-setvbuf6.cpp(2KB)
--------test-setvbuf2.cpp(2KB)
--------bench-read6.R(1KB)
--------bench-acc.R(200B)
--------test-setvbuf3.cpp(940B)
--------test-parallel2.R(1KB)
--------bench-read.R(2KB)
--------bench-read7.R(1KB)
--------test-mmap-nlines.cpp(1KB)
--------test-file2string.cpp(825B)
--------test-parallel.R(637B)
--------split.cpp(2KB)
--------test-setvbuf5.cpp(2KB)
--------test-string.cpp(391B)
--------text-write2.txt(637B)
--------text-write.txt(637B)
--------bench-read4.R(490B)
--------bench-read3.R(1KB)
--------bench-read5.R(1KB)
--------test-setvbuf.cpp(2KB)
--------bench-rbind.R(1KB)
----DESCRIPTION(810B)
----src()
--------nlines-split.cpp(3KB)
--------RcppExports.cpp(2KB)
--------.gitignore(15B)
----inst()
--------testdata()
--------WORDLIST(59B)
----R()
--------read.R(7KB)
--------zzz.R(448B)
--------RcppExports.R(379B)
--------bigreadr-package.R(193B)
--------bind.R(1KB)
--------nlines-split.R(2KB)
----.travis.yml(537B)
----bigreadr.Rproj(396B)
----.Rbuildignore(144B)
----tmp-save()
--------nlines.cpp(6KB)
----README.md(2KB)
----man()
--------big_fread1.Rd(1KB)
--------nlines.Rd(358B)
--------cbind_df.Rd(402B)
--------big_fread2.Rd(1KB)
--------fread2.Rd(1011B)
--------split_file.Rd(1KB)
--------fwrite2.Rd(842B)
--------bigreadr-package.Rd(679B)
--------rbind_df.Rd(444B)
----docs()
--------index.html(8KB)
--------reference()
--------pkgdown.js(3KB)
--------pkgdown.css(4KB)
--------docsearch.js(2KB)
--------docsearch.css(11KB)
--------pkgdown.yml(88B)
--------link.svg(810B)
--------authors.html(4KB)
--------articles()
----appveyor.yml(1KB)
----tests()
--------spelling.R(60B)
--------testthat()
--------testthat.R(60B)
----.gitignore(81B)

网友评论