List non-function objects | R Documentation |
List all objects visible in the global environment except user created functions.
lsNoFunction()
Compared to standard 'ls()', this function displays only the subset of 'ls()' which are not functions.
The member of this list can be removed by 'zap()' but not the set of the functions created.
Virasakdi Chongsuvivatwong cvirasak@gmail.com
'use', 'detach', 'ls', 'rm'
object1 <- 1:5 object2 <- list(a=3, b=5) function1 <- function(x) {x^3 +1} ls() lsNoFunction() ## To show only functions as.character(lsf.str()[])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.