clear_active_bms: Function to clear big.matrix objects in the calling...

Description Usage Arguments Value Examples

View source: R/bigpca.R

Description

New big.memory behavious prevents overwriting of previous big.matrix backing files, and in particular for windows you can only delete the backing file if the object is also deleted. This finds any big.matrix objects in memory and deletes them (by default only with names in the 'culprits' list)

Usage

1
2
clear_active_bms(ignore.os = FALSE, verbose = TRUE, only.culprits = TRUE,
  list.only = FALSE)

Arguments

ignore.os

delete big.matrix objects even if the OS is not windows

verbose

report the names of deleted matrices

only.culprits

delete only matrices named: "bM","bM2","bmat","bmat2","tbM","sel","lmat"

list.only

just list active big.matrix objects rather than delete them

Value

No return value, but effect is to delete the big.matrix objects in the calling env.

Examples

1
clear_active_bms(ignore.os=TRUE, only.culprits=FALSE, list.only=TRUE) # list those in memory

bigpca documentation built on Nov. 22, 2017, 1:02 a.m.