Learn R Programming

GGIR (version 3.2-0)

updateBlocksize: 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)

Value

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

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