Learn R Programming

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

LaF (version 0.6.3)

Fast Access to Large ASCII Files

Description

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

915

Version

0.6.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jan der Laan

Last Published

January 2nd, 2017

Functions in LaF (0.6.3)

goto

Go to specified line in the file
read_dm

Read and write data models for LaF
[,laf-method

Read records from a large file object into R
get_lines

Read in specified lines from a text file
begin

Go to the beginning of the file
determine_nlines

Determine number of lines in a text file
[[,laf-method

Select a column from a LaF object
close,laf-method

Close the connection to the Large File
current_line

Get the current line in the file
detect_dm_csv

Automatically detect data models for CSV-files
laf_column-class

Column of a Large File Object
laf_open_fwf

Create a connection to a fixed width file.
laf_open_csv

Create a connection to a comma seperated value (CSV) file.
laf_open

Create a connection to a file using a data model.
names,laf-method

Get and set the names of the columns in a Large File object
ncol,laf-method

Get the number of columns in a Large File object
laf-class

Large File object
next_block

Read the next block of data from a file.
nrow,laf-method

Get the number of rows in a Large File object
read_lines

Read lines from the file
sample_lines

Read in random lines from a text file
read_dm_blaise

Read in Blaise data models
process_blocks

Blockwise processing of file
show,laf-method

Print the Large File object to screen
levels,laf-method

Get and change the levels of the column in a Large File object
colsum

Calculate simple statistics of column