With inspect_objects you can copy an object to the global environment for further debugging or developing.

inspect_objects(...)

Arguments

...

Named objects to be copy to the global environment. If there is only one unnamed object, its name in the global environment will be the same as the name of the object passed to ....

Examples

if (interactive()) { set_logging() shiny::shinyApp( ui = shiny::fluidPage(log_init()), server = function(input, output) { set_logging_session() inspect_objects(mtcars) inspect_objects(df1 = head(mtcars), df2 = head(iris)) } ) }