Debian Codegraph @

man/xx_ls_wrapper.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/base_ls.r
3 \name{ls}
4 \alias{ls}
5 \title{A wrapper function for base::ls}
6 \usage{
7 ls(
8 name,
9 pos = -1L,
10 envir = as.environment(pos),
11 all.names = FALSE,
12 pattern,
13 sorted = TRUE
14 )
15 }
16 \arguments{
17 \item{name, pos, envir, all.names, pattern, sorted}{as the original \code{base::ls()}.}
18 }
19 \value{
20 As the original \code{base::ls()} except when \code{all.names} is \code{TRUE}
21 and \code{envir} is \code{.GlobalEnv}, hidden pbd objects such as
22 \code{.pbd_env} and \code{.pbdenv} will not be returned.
23 }
24 \description{
25 The \code{ls()} function with modification to avoid listing hidden
26 pbd objects.
27 }
28 \details{
29 As the original \code{base::ls()}, it returns the names of the objects.
30 }
31 \examples{
32 \dontrun{
33 library(pbdRPC, quietly = TRUE)
34 ls(all.names = TRUE)
35 base::ls(all.names = TRUE)
36 }
37
38 }
39 \author{
40 Wei-Chen Chen \email{[email protected]}.
41 }