Learn R Programming

RnBeads (version 1.4.0)

logger.getfiles: logger.getfiles

Description

Gets the files currently used by the logger.

Usage

logger.getfiles()

Arguments

Value

Vector storing the full names of the files that are being used by the logger. This vector contains NA as an element if the logger is (also) using the console for its output. If logging functionality is disabled (see rnb.options) or the logger is not initialized, this function returns NULL.

See Also

logger.isinitialized to check if logging is activated; logger.start for initializing a logger or starting a section

Examples

Run this code

if (NA %in% logger.getfiles())
  cat("Console logger is enabled\n")

Run the code above in your browser using DataLab