[R] help with tclVar

From: <solares_at_unsl.edu.ar>
Date: Thu 01 Jul 2004 - 09:55:48 EST


Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the exmple above explain me ,Thanks Ruben
a<-tclVar(init="")
> f<-function(){

+ a<<-"pipo"
+ }
> f()
> a

[1] "pipo"
> tclvalue(a)

Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") :

        [tcl] can't read "pipo": no such variable.
>



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 01 10:09:45 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:11:41 EST