indexing: Read records from a large file object into R

[,laf-methodR Documentation

Read records from a large file object into R

Description

When a connection is opened to a "laf" object; this object can then be indexed roughly as one would a data.frame.

Usage

## S4 method for signature 'laf'
x[i, j, drop]

## S4 method for signature 'laf_column'
x[i, j, drop]

Arguments

x

an object of type "laf" or "laf_column".

i

an logical or numeric vector with indices. The rows which should be selected.

j

a numeric vector with the columns to select.

drop

a logical indicating whether or not to convert the result to a vector when only one column is selected. As in when indexing a data.frame.


LaF documentation built on April 4, 2025, 5:47 a.m.