lstype | R Documentation |
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).
lstype(type = "closure")
type |
Any valid variable type, or "function," which is redirected to "closure." |
A vector of character strings as is returned by the base function ls
.
Carl Witthoft carl@witthoft.com
ls
, lssize
, lsclass
lstype('integer') #if you have any such in your environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.