Learn R Programming

loon (version 1.4.1)

l_getFromPath: Create loon objects from path name

Description

This function can be used to create the loon objects from a valid widget path name. The main difference from l_create_handle is that l_getFromPath can take a loon compound widget path but l_create_handle cannot.

Usage

l_getFromPath(target)

Arguments

target

loon object specification (e.g. ".l0.plot")

Details

For more information run: l_help("learn_R_intro.html#re-creating-object-handles")

See Also

l_create_handle l_loonWidgets

Examples

Run this code
if (FALSE) {
 l_pairs(iris, showHistogram = TRUE)
 # The path can be found at the top of tk title
 # Suppose it is the first loon widget, this path should be ".l0.pairs"
 p <- l_create_handle(".l0.pairs") # error
 p <- l_getFromPath(".l0.pairs")
}

Run the code above in your browser using DataLab