ls(name, pos = -1L, envir = as.environment(pos), all.names = FALSE, pattern, sorted = TRUE) exists(x, where, envir, frame, mode, inherits) get(x, pos, envir, mode, inherits) #x[[i]] #x$name
## Converting to a list mget(x, envir, mode, ifnotfound, inherits) eapply(env, FUN, ..., all.names, USE.NAMES) #contents(object, all.names)
## Additional convenience method sample(x, size, replace=FALSE, prob=NULL, ...)
ls
.
A key as a literal character string or a name (possibly backtick quoted)
for x$name
.
ls
. A Bimap object for mget
,
get
and exists
.
NA
is currently
supported.
eapply
for environments for the details).
FUN
.
logical(1)
. When TRUE (default), return primary keys in
sorted order.
ls
,
exists
,
get
,
mget
,
eapply
,
contents
,
sample
,
BimapFormatting,
Bimap
library(hgu95av2.db)
x <- hgu95av2CHRLOC
ls(x)[1:3]
exists(ls(x)[1], x)
exists("titi", x)
get(ls(x)[1], x)
x[[ls(x)[1]]]
x$titi # NULL
mget(ls(x)[1:3], x)
eapply(x, length)
contents(x)
sample(x, 3)
Run the code above in your browser using DataLab