R/nestedLists.R
l_Rlist2nestedTclList.Rd
This is a helper function to create a nested Tcl list from an R list (i.e. a list of vectors).
l_Rlist2nestedTclList(x)
a list of vectors
a string that represents the tcl nested list
l_nestedTclList2Rlist
x <- list(c(1,3,4), c(4,3,2,1), c(4,3,2,5,6)) l_Rlist2nestedTclList(x) #> [1] "{1 3 4} {4 3 2 1} {4 3 2 5 6}"