The ls()
function with modification to avoid listing hidden
pbd objects.
ls(
name,
pos = -1L,
envir = as.environment(pos),
all.names = FALSE,
pattern,
sorted = TRUE
)
As the original base::ls()
except when all.names
is TRUE
and envir
is .GlobalEnv
, hidden pbd objects such as
.pbd_env
and .pbdenv
will not be returned.
as the original base::ls()
.
Wei-Chen Chen wccsnow@gmail.com.
As the original base::ls()
, it returns the names of the objects.
if (FALSE) {
library(pbdRPC, quietly = TRUE)
ls(all.names = TRUE)
base::ls(all.names = TRUE)
}
Run the code above in your browser using DataLab