updateBlocksize: Update blocksize of data to be read depending on available...

View source: R/updateBlocksize.R

updateBlocksizeR Documentation

Update blocksize of data to be read depending on available memory.

Description

Function queries available memory to either lower or increase the blocksize used by function g.readaccfile

Usage

updateBlocksize(blocksize, bsc_qc)

Arguments

blocksize

Number of filepages (binary data) or rows (other dataformats).

bsc_qc

Data.frame with columns time (timestamp from Sys.time) and size (memory size). This is used for housekeeping in g.calibrate and g.getmeta

Value

List with blocksize and bsc_qc, same format as input, although bsc_qc has one new row.


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.