mmapchar-class {mmapcharr} | R Documentation |
Class mmapchar
Description
A reference class for storing and accessing matrix-like data stored on disk in files containing only characters (digits) separated by a character.
Usage
mmapchar(file, code)
Arguments
file |
Path of the file. |
code |
Integer vector of size 256 to access integers instead of
|
Examples
test_file <- system.file("testdata/test-windows.txt", package = "mmapcharr")
test <- mmapchar(test_file, code = mmapcharr:::CODE_012)
test[, 1:3]
test[]
readLines(test_file)
[Package mmapcharr version 0.3.0 Index]