
objBrowse(id = "default", envir = .GlobalEnv, all.names = NULL, pattern = NULL, group = NULL, sep = "\t", path = NULL, regenerate = FALSE)
objClear(id = "default")
objDir()
objInfo(id = "default", envir = .GlobalEnv, object = "", path = NULL)
objList(id = "default", envir = .GlobalEnv, object = NULL, all.names = FALSE, pattern = "", group = "", all.info = FALSE, sep = "\t", path = NULL, compare = TRUE, ...)
objMenu(id = "default", envir = .GlobalEnv, objects = "", sep = "\t", path = NULL)
objSearch(sep = "\t", path = NULL, compare = TRUE)
"print"(x, sep = NA, eol = "\n", header = !attr(x, "all.info"), raw.output = !is.na(sep), ...)
write.objList(x, path, sep = "\t", ...)
search()
path. objList
. all.info
is true. write.table
. TRUE
in case of success or FALSE
otherwise
is returned invisibly.
objBrowse()
does the horsework. objDir()
gets the temporary
directory where exchange files are stored, in case you exchange data through
files. You can use a better way to communicate with your GUI (you have to
provide your code) and disable writing to files by using path = NULL
.
objList()
lists objects in a given environment, elements of a recursive
object or function argument.
objSearch()
lists the search path.
objClear()
clears any reference to a given object browser.
objInfo()
computes a tooltip info for a given object.
objMenu()
computes a context menu for selected object(s) in the object
explorer managed by the GUI client.
print.objList()
print method for objList
objects.
completion
, callTip
## Create various context menus
data(iris)
(objInfo(object = "iris"))
data(trees)
## For one object
(objMenu(objects = "iris"))
## For multiple objects
(objMenu(objects = c("iris", "trees")))
## For inxistant object (return "")
(objInfo(object = "noobject"))
(objMenu(objects = "noobject"))
rm(iris, trees)
## For environments
(objInfo(envir = ".GlobalEnv"))
(objMenu(envir = ".GlobalEnv"))
(objInfo(envir = "SciViews:TempEnv"))
(objMenu(envir = "SciViews:TempEnv"))
(objInfo(envir = "package:datasets"))
(objMenu(envir = "package:datasets"))
## For an environment that does not exist on the search path (return "")
(objInfo(envir = "noenvir"))
(objMenu(envir = "noenvir"))
Run the code above in your browser using DataLab