Displaying 1 result from an estimated 1 matches for "tk2theme".
2006 Jul 05
1
tcl/tk with R
...ailable?
I have been unsuccessful with the example in the tcltk2 package due to a
syntax error.
I think that I have isolated the problem to this code snippet:
for (i in 1:length(Themes)) {
tkadd(themeMenu, "command", label = Themes[i], command = eval(parse(text =
paste("function() tk2theme(\"", Themes[sep = "")))) }
And the problem seems to be here:
paste("function() tk2theme(\"", Themes[sep = ""))
Error: syntax error in "paste("function() tk2theme(\"", Themes[sep = "")"
Further R seems not to like &...