R: Reads sets of contiguous values in the file array

readContiguousValues.AbstractFileArray {R.huge} | R Documentation

## Reads sets of contiguous values in the file array

### Description

Reads sets of contiguous values in the file array. A set of contiguous values are values that are connecting without a break. It is much faster to read contiguous sequences at once than read each value separately.

### Usage

    ## S3 method for class 'AbstractFileArray'
    readContiguousValues(this, indices, lengths=1, mode=getStorageMode(this),
      size=getBytesPerCell(this), offset=getDataOffset(this), ..., .checkArgs=TRUE)

### Arguments

`indices` | A `numeric` `vector` of start (first) indices in each of the contiguous sets.
`length` | A `numeric` `vector` specifying the length of each of the contiguous sets.
`mode` | The storage mode to read.
`size` | The number of bytes each values allocates on file.
`offset` | The file offset to the first value on file.
`...` | Not used.
`.checkArgs` | If `TRUE`, arguments are validated, otherwise not.

### Value

Returns a `numeric` `vector`.

### Author(s)

Henrik Bengtsson

### See Also

`*readAllValues()` and `readValues`(). For more information see `AbstractFileArray`.

[Package R.huge version 0.9.0 Index]