Return values from .Tcl
and tcl
are
of class tclObj
and often need to be mapped to a different data
structure in R. This function is a helper class to do this mapping.
l_toR(x, cast = as.character)
x | a |
---|---|
cast | a function to conver the object to some other R object |
A object that is returned by the function specified with the
cast
argument.