Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lsNoFunction

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

epiDisplay

Epidemiological Data Display Package

v3.5.0.1
GPL (>= 2)
Authors
Virasakdi Chongsuvivatwong <cvirasak@medicine.psu.ac.th>
Initial release
2018-05-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.