Learn R Programming

bigpca (version 1.1)

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

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

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

Run this code
# NOT RUN {
clear_active_bms(ignore.os=TRUE, only.culprits=FALSE, list.only=TRUE) # list those in memory
# }

Run the code above in your browser using DataLab