Hello,

Does anyone have a clue about how dump tcl's history stream out to a file
from R pointers to tcl? This should be accessible via "tcl("history",...)
but the stream seems to be always empty.

library(tcltk) #Load tcltk
tcl("history","nextid") #should be 1, and it is
a1<-tclVar("1")
tclvalue(a1)<-2
tcl("history","nextid") #Should be 3, but alas, it is 1.
tcl("history","info")    #Sadly, tcl has no history
.Tcl("history nextid") #No joy here either.

Thanks, in advance, for any tips or clues.

Best,
Chris Marcum
-- 
Staff Scientist - Methodologist
Social Network Methods Section
National Human Genome Research Institute
National Institutes of Health

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to