# NOT RUN {
# View your current workspace
# }
# NOT RUN {
ls()
ll()
# }
# NOT RUN {
# View another environment
e <- new.env()
ll(e)
e$fit <- lm(mpg ~ wt, mtcars)
e$fit2 <- lm(mpg ~ wt + am + vs, data = mtcars)
e$x <- rnorm(1e5)
e$y <- runif(1e4)
e$z <- with(e, x * y)
e$w <- sum(e$z)
ls(e)
ll(e)
ll(e, head = TRUE)
# }
Run the code above in your browser using DataLab