This is a helper function to create a nested Tcl list from an R
list (i.e. a list of vectors).
Arguments
- x
a list of vectors
Value
a string that represents the tcl nested list
Examples
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}"