Learn R Programming

SciViews (version 0.8-9)

guiObjBrowse: Function to implement an object browser

Description

These functions provide features required to implement a complete object browser in the GUI client.

Usage

guiObjBrowse(id = "default", env.name = NULL, pos = NULL, all.names = NULL,
    pattern = NULL, group = NULL, regenerate = FALSE)
guiObjClear(id)
guiObjDir()
guiObjList(id = "default", env.name = NULL, pos = 1, all.names = FALSE,
    pattern = "", group = "", path = NULL, compare = TRUE)
guiObjMenu(id = "default", selobject, objects, envir, path = NULL)
guiObjSearch(path = NULL, compare = TRUE)

Arguments

id
The id of the object browser (you can run several ones concurrently)
env.name
The name of the environment
pos
The position in the search path
all.names
Do we display all names (including hidden variables starting with '.')?
pattern
A pattern to match for selecting variables
group
A group to filter
regenerate
Do we force to regenerate the information?
path
The path where to write a temporary file with the requested information
compare
If compare == TRUE, result is compared with last cached value and the client is updated only if something changed
selobject
The current selection in the object browser
objects
A list with selected items in the object browser
envir
The currently selected environment in the object browser

Value

  • Depending on the function, a list, a string, or a reference to an external, temporary file where data is written.

Details

guiObjBrowse do the horsework. guiObjDir gets the temporary directory where exchange files are stored. guiObjList lists objects in a given workspace. guiObjSearch lists the search path. guiObjClear clears any reference to a given object browser. guiObjMenu computes a context menu for a given object.

See Also

guiRemove, guiSave

Examples

Run this code
#### TO DO...

Run the code above in your browser using DataLab