Learn R Programming

clickR (version 0.9.45)

workspace: Explores global environment workspace

Description

Returns information regarding the different objects in global environment

Usage

workspace(table = FALSE)

Value

A list of object names by class or a table with frequencies if table = TRUE

Arguments

table

If TRUE a table with the frequencies of each type of object is given

Examples

Run this code
df1 <- data.frame(x=rnorm(10), y=rnorm(10, 1, 2))
df2 <- data.frame(x=rnorm(20), y=rnorm(20, 1, 2))
workspace(table=TRUE)  #Frequency table of the different object classes
workspace()  #All objects in the global object separated by class

Run the code above in your browser using DataLab