l_nestedTclList2Rlist | R Documentation |
Helper function to work with R and Tcl
l_nestedTclList2Rlist(
tclobj,
transform = function(x) {
as.numeric(x)
}
)
tclobj |
a tcl object as returned by |
transform |
a function to transfrom the string output to another data type |
a nested R list
l_Rlist2nestedTclList
tclobj <- .Tcl('set a {{1 2 3} {2 3 4 4} {3 5 3 3}}')
l_nestedTclList2Rlist(tclobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.