td <- teal_data(iris = iris)
td <- within(td, mtcars <- mtcars)
names(td)
# hidden objects with dot-prefix
td <- within(td, .CO2 <- CO2)
names(td) # '.CO2' will not be returned
# rename objects
td <- teal_data(iris = iris)
td <- within(td, {
new_iris <- iris
rm(iris)
})
names(td) # only 'new_iris' will be returned
Run the code above in your browser using DataLab