Learn R Programming

LaF (version 0.8.6)

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

747

Version

0.8.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 13th, 2024

Functions in LaF (0.8.6)

next_block

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

Print the Large File object to screen
colsum

Calculate simple statistics of column
laf_open

Create a connection to a file using a data model.
laf_open_csv

Create a connection to a comma separated value (CSV) file.
laf_open_fwf

Create a connection to a fixed width file.
levels,laf-method

Get and change the levels of the column in a Large File object
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
detect_dm_csv

Automatically detect data models for CSV-files
get_lines

Read in specified lines from a text file
read_dm

Read and write data models for LaF
goto

Go to specified line in the file
determine_nlines

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

Close the connection to the Large File
current_line

Get the current line in the file
[[,laf-method

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

Read records from a large file object into R
begin

Go to the beginning of the file
laf_column-class

Column of a Large File Object
laf-class

Large File object
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