lstype: List all objects of the specified type.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lstype.R

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

1
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

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

cgwtools documentation built on May 19, 2017, 11:47 p.m.

Search within the cgwtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.