Displaying 1 result from an estimated 1 matches for "tkdev".
Did you mean:
mkdev
2013 Mar 18
1
Windows R-3.0.0 and Tcl/tkrplot issue
...issue to be related to the command '.Tcl("image create Rplot plotname")' from package "tkrplot".
The following example is taken from here: http://tkrplot.sourcearchive.com/documentation/0.0.14/tcltkimg_8c_source.html
> library(tkrplot)
> library(tcltk)
> my.tkdev <- function() win.metafile(width=4,height=4)
> my.tkdev()
> plot(1:20)
> .Tcl("image create Rplot fred")
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't get device image.
This example works fine in R-2.15.3. I've emailed the...