Displaying 11 results from an estimated 11 matches for "tkwin".
Did you mean:
kwin
2006 Jul 11
1
Linux/MacOSX and "X11 protocol error: BadWindow..." warnings
...n-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> options(warn = 1)
> library(tcltk)
Loading Tcl/Tk interface ... done
> tktoplevel()
$ID
[1] ".1"
$env
<environment: 0x899ba30>
attr(,"class")
[1] "tkwin"
## Now close the Tk window using window controls
> X11()
> tktoplevel()
$ID
[1] ".2"
$env
<environment: 0x86f8ff4>
attr(,"class")
[1] "tkwin"
## Now close the Tk window using window controls
> Warning: X11 protocol error: BadWindow (invalid Win...
2003 Oct 27
1
Difficulties with R.oo (static fields, etc.)
...--------------
library("R.oo")
setConstructorS3("TurtleBasic",function() {
new<-extend(Object(),"TurtleBasic",.x=100,.y=100,.a=0,.turtle=NA)
## Create a new Turtle World if necessary
require(tcltk) || stop("tcl/ library not available")
if(!is.tkwin(new$.canvas)) { # check to see if it is first instance or not
cat("Create Turtle World\n")
top <- tktoplevel()
tktitle(top) <- "Turtle World"
canvas <- tkcanvas(top, relief="raised", width=200, height=200)
tkpack(canvas, side="top...
2004 Mar 16
2
Documentation on how to put classes and methods in packages with namespace?
...raph" <-
function ()
{
library(methods)
setClass("GraphLatticeProto", representation(vertices = "list",
blocks = "list", blockTree = "list", graphs = "list"))
setClass("CanvasProto", representation(top = "tkwin", canvas = "tkwin",
tags = "list", id = "numeric", visibleVertices = "numeric",
graphEdges = "list", blockEdges = "list", factorVertices = "list",
factorEdges = "list"))
setClass(&quo...
2011 Aug 14
2
Problem installing R Commander plugin...
....c: In function ?DisplayRplot?:
tcltkimg.c:300: error: expected declaration specifiers before
?ClientData?
tcltkimg.c:307: warning: type of ?clientData? defaults to ?int?
tcltkimg.c:320: warning: implicit declaration of function ?Tk_Depth?
tcltkimg.c:320: error: ?RplotInstance? has no member named ?tkwin?
tcltkimg.c:326: warning: implicit declaration of function ?Tk_GetPixmap?
tcltkimg.c:326: warning: implicit declaration of function ?Tk_WindowId?
tcltkimg.c:326: error: ?RplotInstance? has no member named ?tkwin?
tcltkimg.c:328: warning: implicit declaration of function ?Tk_GetGC?
tcltkimg.c:328: e...
2012 May 14
0
phyloclim could not be installed in linux - problems on tkrplot dependence
...ion specifiers before ‘ClientData’
tcltkimg.c:298: warning: type of ‘clientData’ defaults to ‘int’
tcltkimg.c:308: warning: cast to pointer from integer of different size
tcltkimg.c:320: warning: implicit declaration of function ‘Tk_Depth’
tcltkimg.c:320: error: ‘RplotInstance’ has no member named ‘tkwin’
tcltkimg.c:326: warning: implicit declaration of function ‘Tk_GetPixmap’
tcltkimg.c:326: warning: implicit declaration of function ‘Tk_WindowId’
tcltkimg.c:326: error: ‘RplotInstance’ has no member named ‘tkwin’
tcltkimg.c:328: warning: implicit declaration of function ‘Tk_GetGC’
tcltkimg.c:328: e...
2004 Mar 16
0
VS: Documentation on how to put classes and methods in packages with namespace?
...()
> {
> library(methods)
> setClass("GraphLatticeProto", representation(vertices = "list",
> blocks = "list", blockTree = "list", graphs = "list"))
> setClass("CanvasProto", representation(top = "tkwin", canvas = "tkwin",
> tags = "list", id = "numeric", visibleVertices = "numeric",
> graphEdges = "list", blockEdges = "list", factorVertices = "list",
> factorEdges = "list"))
&g...
2008 Jul 24
0
unable to load a library
hello all,
i'm running R-2.6.1 on solaris 10 (x86). I added the package aplpack
without problems, but when i try to use it, i got errors:
> library(aplpack)
Loading required package: tcltk
Error in namespaceExport(ns, exports) :
undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin,
tclfile.dir, tclfile.tail
In addition: Warning message:
S3 methods '$.tclvar', '$<-.tclvar', 'as.character.tclObj',
'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj',
'as.logical.tclObj', 'print.tclObj', '[[.tclArr...
2010 Sep 16
3
funciones en R potencialmente peligrosas via web?
...'.External.graphics',
'.Fortran', '.readRDS', '.saveRDS', '.Script', '.Tcl',
'.Tcl.args', '.Tcl.callback', '.Tk.ID', '.Tk.newwin',
'.Tk.subwin',
'.Tkroot', '.Tkwin', 'basename', 'browseURL', 'bzfile',
'capture.output', 'close', 'close.screen',
'closeAllConnection', 'data.entry',
'data.restore', 'dataentry', 'de', 'dev.control',
'...
2008 Oct 30
3
using yscrollcommand in tkcanvas crashes R (PR#13231)
Full_Name: Sundar Dorai-Raj
Version: 2.8.0
OS: Windows
Submission from: (NULL) (76.220.41.126)
The following code crashes R:
library(tcltk)
tt <- tktoplevel()
tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...))
> sessionInfo()
R version 2.8.0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called