Learn R Programming

⚠️There's a newer version (0.8.6) of this package.Take me there.

LaF (version 0.5)

Fast access to large ASCII files

Description

The LaF package provides methods for fast access to large ASCII files. Currently the following file formats are supported: comma separated format (csv) and fixed width format. It is assumed that the files are too large to fit into memory, although the package can also be used to efficiently access files that do fit into memory. Methods are provided to access and process files blockwise. Furthermore, an opened file can be accessed as one would an ordinary data.frame. The LaF vignette gives an overview of the functionality provided.

Copy Link

Version

Install

install.packages('LaF')

Monthly Downloads

1,075

Version

0.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jan der Laan

Last Published

April 25th, 2013

Functions in LaF (0.5)

laf_column-class

Class "laf_column"
get_lines

Read in specified lines from a text file
goto-methods

Go to specified line in the file
laf-class

Class "laf"
laf_open_csv

Create a connection to a comma seperated value (CSV) file.
begin-methods

Return to the beginning of the file.
current_line-methods

Get the current line in the file.
data_model

Read and write data models for LaF
laf_open_fwf

Create a connection to a fixed width file.
next_block-methods

Read the next block of data from a file.
laf-package

Fast access to large ASCII files
process_blocks-methods

Blockwise processing of blocks.
laf_open

Create a connection to a file using a data model.
read_lines-methods

Read lines from the file
stats

Calculate simple statistics of columns
determine_nlines

Determine number of lines in a text file
read_dm_blaise

Read in Blaise data models
sample_lines

Read in random lines from a text file
detect_dm_csv

Automatically detect data models for CSV-files