wrathematics/lineSampler: File Line Sampler
Version 0.4-0

A collection of utilities for reading subsamples of flat text files by line in a reasonably efficient manner. We do so by sampling as the input file is scanned and randomly choosing whether or not to dump the current line to an external temporary file. This temporary file is then read back into R. For (aggressive) 'downsampling', this is a very effective strategy; for resampling, you are much better off reading the full dataset into memory.

Getting started

Package details

MaintainerDrew Schmidt <[email protected]>
LicenseBSD 2-clause License + file LICENSE
URL https://github.com/wrathematics/lineSampler
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
wrathematics/lineSampler documentation built on May 28, 2017, 5:18 a.m.