[R] console from tcltk

Gabor Grothendieck ggrothendieck at gmail.com
Wed May 14 03:35:55 CEST 2008


Is it possible to use the console from within tcltk?

> library(tcltk)
> tcl("puts", "stdout", "Hello, World")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"),
class = "tclObj") :
  [tcl] can not find channel named "stdout".
> .Tcl('puts stdout "Hello, World"')
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class
= "tclObj") :
  [tcl] can not find channel named "stdout".
> R.version.string  # Windows Vista
[1] "R version 2.7.0 RC (2008-04-17 r45367)"



More information about the R-help mailing list