[R] R and tcltk

Talita Leite talitaperciano at hotmail.com
Tue Apr 18 22:42:45 CEST 2006


Hi people,

I'm trying to run simple commands using tcltk in R but I got strange errors. 
Look at this:

>library(tcltk)
Loading Tcl/Tk interface ... done
>tclRequire("Iwidgets")
<Tcl> 4.0.1
>tt <- tktoplevel()
>tn <- tkwidget(tt, "iwidgets::tabnotebook")
Erro em structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = 
"tclObj") :
        [tcl] wrong # args: should be "switch ?switches? string pattern body 
... ?default body?".

I recently installed R 2.2.1 in suse 10. I've been using the last versions 
of R and I didn't have those problems with tcltk. I'll appreciate some help.

Thanx

Talita

___
Talita Perciano Costa Leite
Mestranda em Ciência da Computação
Universidade Federal de São Carlos - UFSCar
Departamento de Computação
Grupo de Arquitetura, Processamento de Imagens e Sinais - GAPIS




More information about the R-help mailing list