End
button is pressed, the selected objects
will be returned as a list.
objectBrowser(env = .GlobalEnv,fun = noAuto, textToShow = "Select object(s)", nSelect = -1)
nSelect = -1
as per default.env
a default environment object to start object Browserlist
of lists with a name and value pair for each object.
The buttons and their expected behavior are
Up
Select \>\>
Reset
.GlobalEnv
which
is the default starting point of the system.
\<\< remove<="" code="">\<>
Clear
Cancel
NULL
when
pressed.
End
list
of lists with names of the
objects in the box for selected objects and their corresponding values
or NULL
if nothing exists in the box.
## The example here is only run interactively since it requires user
## interference which may cause problems if not available:
if(interactive()) {
# Call the function with the isCharacter function.
r <- objectBrowser()
str(r) # show what we've got
}
Run the code above in your browser using DataLab