lstype {cgwtools}R Documentation

List all objects of the specified type.

Description

This is a Q&D tool to list all objects in the current environment of a specified type. As discussed in the base R documentation, these types are the vector types "logical", "integer", "double", "complex", "character", "raw" and "list", "NULL", "closure" (function), "special" and "builtin" (basic functions and operators), "environment", "S4" (some S4 objects).

Usage

lstype(type = "closure")

Arguments

type

Any valid variable type, or "function," which is redirected to "closure."

Value

A vector of character strings as is returned by the base function ls .

Author(s)

Carl Witthoft carl@witthoft.com

See Also

ls , lssize, lsclass

Examples

lstype('integer') #if you have any such in your environment.

[Package cgwtools version 4.1 Index]