Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hiparse

Hybrid Index, parsing


Description

hiparse implements the parsing done in Hybrid Index Preprocessing in order to avoid RAM for expanding index expressions. Not to be called directly

Usage

hiparse(x, envir, first = NA_integer_, last = NA_integer_)

Arguments

x

an index expression, precisely: call

envir

the environemtn in which to evaluate components of the index expression

first

first index position found so far

last

last index position found so far

Details

This primitive parser recognises the following tokens: numbers like 1, symbols like x, the colon sequence operator : and the concat operator c. hiparse will Recall until the index expression is parsed or an unknown token is found. If an unknown token is found, hiparse evluates it, inspects it and either accepts it or throws an error, catched by as.hi.call, which falls back to evaluating the index expression and dispatching (again) an appropriate as.hi method. Reasons for suspending the parsing: if the inspected token is of class 'hi', 'ri', 'bit', 'bitwhich', 'is.logical', 'is.character', 'is.matrix' or has length>16.

Value

undefined (and redefined as needed by as.hi.call)

Author(s)

Jens Oehlschlägel

See Also


ff

Memory-Efficient Storage of Large Data on Disk and Fast Access Functions

v4.0.4
GPL-2 | GPL-3 | file LICENSE
Authors
Daniel Adler [aut], Christian Gläser [aut], Oleg Nenadic [aut], Jens Oehlschlägel [aut, cre], Martijn Schuemie [aut], Walter Zucchini [aut]
Initial release
2020-10-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.