List non-function objects {epiDisplay}R Documentation

List non-function objects

Description

List all objects visible in the global environment except user created functions.

Usage

lsNoFunction()

Details

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.

Author(s)

Virasakdi Chongsuvivatwong <cvirasak@medicine.psu.ac.th>

See Also

'use', 'detach', 'ls', 'rm'

Examples

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()[])

[Package epiDisplay version 3.5.0.1 Index]