Package: LaF 0.8.5

Jan van der Laan

LaF: Fast Access to Large ASCII Files

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.

Authors:Jan van der Laan

LaF_0.8.5.tar.gz
LaF_0.8.5.zip(r-4.5)LaF_0.8.5.zip(r-4.4)LaF_0.8.5.zip(r-4.3)
LaF_0.8.5.tgz(r-4.4-x86_64)LaF_0.8.5.tgz(r-4.4-arm64)LaF_0.8.5.tgz(r-4.3-x86_64)LaF_0.8.5.tgz(r-4.3-arm64)
LaF_0.8.5.tar.gz(r-4.5-noble)LaF_0.8.5.tar.gz(r-4.4-noble)
LaF_0.8.5.tgz(r-4.4-emscripten)LaF_0.8.5.tgz(r-4.3-emscripten)
LaF.pdf |LaF.html
LaF/json (API)
NEWS

# Install 'LaF' in R:
install.packages('LaF', repos = c('https://djvanderlaan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/djvanderlaan/laf/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

26 exports 53 stars 3.59 score 1 dependencies 5 dependents 56 scripts 702 downloads

Last updated 1 months agofrom:943366e055. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 07 2024
R-4.5-win-x86_64OKSep 07 2024
R-4.5-linux-x86_64OKSep 07 2024
R-4.4-win-x86_64OKSep 07 2024
R-4.4-mac-x86_64OKSep 07 2024
R-4.4-mac-aarch64OKSep 07 2024
R-4.3-win-x86_64OKSep 07 2024
R-4.3-mac-x86_64OKSep 07 2024
R-4.3-mac-aarch64OKSep 07 2024

Exports:beginclosecolfreqcolmeancolnmissingcolrangecolsumcurrent_linedetect_dm_csvdetermine_nlinesget_linesgotolaf_openlaf_open_csvlaf_open_fwflevelsncolnext_blocknrowprocess_blocksread_dmread_dm_blaiseread_linessample_linesshowwrite_dm

Dependencies:Rcpp

LaF-benchmark

Rendered fromLaF-benchmark.Rnwusingutils::Sweaveon Sep 07 2024.

Last update: 2017-10-12
Started: 2017-10-12

LaF-manual

Rendered fromLaF-manual.Rnwusingutils::Sweaveon Sep 07 2024.

Last update: 2020-03-12
Started: 2017-10-12

Readme and manuals

Help Manual

Help pageTopics
Read records from a large file object into R[,laf-method [,laf_column-method
Select a column from a LaF object$,laf-method [[,laf-method
Go to the beginning of the filebegin begin,laf-method
Close the connection to the Large Fileclose,laf-method
Calculate simple statistics of columncolfreq colfreq,laf-method colfreq,laf_column-method colmean colmean,laf-method colmean,laf_column-method colnmissing colnmissing,laf-method colnmissing,laf_column-method colrange colrange,laf-method colrange,laf_column-method colsum colsum,laf-method colsum,laf_column-method
Get the current line in the filecurrent_line current_line,laf-method
Automatically detect data models for CSV-filesdetect_dm_csv
Determine number of lines in a text filedetermine_nlines
Read in specified lines from a text fileget_lines
Go to specified line in the filegoto goto,laf,numeric-method
Column of a Large File Objectlaf_column-class
Create a connection to a file using a data model.laf_open
Create a connection to a comma separated value (CSV) file.laf_open_csv
Create a connection to a fixed width file.laf_open_fwf
Large File objectlaf-class
Get and change the levels of the column in a Large File objectlevels,laf-method levels,laf_column-method levels<-,laf-method levels<-,laf_column-method
Get and set the names of the columns in a Large File objectnames,laf-method names<-,laf-method
Get the number of columns in a Large File objectncol,laf-method
Read the next block of data from a file.next_block next_block,laf-method next_block,laf_column-method
Get the number of rows in a Large File objectnrow,laf-method
Blockwise processing of fileprocess_blocks process_blocks,laf-method
Read and write data models for LaFread_dm write_dm
Read in Blaise data modelsread_dm_blaise
Read lines from the fileread_lines read_lines,laf-method read_lines,laf_column-method
Read in random lines from a text filesample_lines
Print the Large File object to screenshow,laf-method show,laf_column-method