Set default behavior of the whos function

Description

Set default behavior of the whos function

Usage

1
2
3
4
5
whos.options(exclude, report.S4.size)

whos.exclude(x = NULL, pattern, envir = parent.frame())

whos.include(x = NULL, pattern, envir = parent.frame())

Arguments

exclude

Objects to exclude from view. Can be a character vector of names, or an environment, but not any regular expressions so far.

report.S4.size

Calculating the size of S4 objects with object.size can take an annoyingly long time (seconds), set this option to FALSE to skip it and get quicker execution.

x

A character vector of object names to exclude or include.

pattern

Regular expression pattern to match object names against, e.g. pattern="^my\..*" will exclude or include "my.vector" and "my.matrix" but not "mysql.con".

envir

Environment to search in.

Value

Nothing. The values are stored as global options.

Author(s)

Christofer B├Ącklin