search for: dottclobjv

Displaying 20 results from an estimated 30 matches for "dottclobjv".

2007 Oct 09
1
misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?
...r(tt, repeatinterval=5, + .... [TRUNCATED] ****************************************************** The source for this demo can be found in the file: /home/david/lib/R/library/tcltk/demo/tkfaq.R ****************************************************** > Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name ".1.1". Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name ".1.2". Error i...
2013 Jan 15
1
Can not load Rcmdr
I am getting the error message: > library(Rcmdr) Loading required package: car Loading required package: MASS Loading required package: nnet Error : .onAttach failed in attachNamespace() for 'Rcmdr', details: call: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") error: [tcl] invalid command name "image". Error: package/namespace load failed for 'Rcmdr' If I try and load tcltk separately, it loads, but I get a warning. > library(tcltk) Loading Tcl/Tk interfa...
2012 Mar 28
1
Problems with R Commander version 1.8-3
...2 for Windows XP I have no problem with R Commander version 1.7-2, but now I have a problem with R Commander (Rcmdr) version 1.8-3. After I lunch R Commander (sdi as well standard) if I try to import data (i. from Stata datafile) I have this Warning message: Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] list element in braces followed by "{"STATA"" instead of space. and the process stop. The problem is also for SPPS and Excel (in the last case the warning message is: Error in structure(.Exte...
2009 Feb 10
3
tcltk, tcltk2, Rcmdr, Mac OS X
Dear Colleagues, When I try to install Rcmdr the following happens: ---------------------------------- > library(Rcmdr) Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "font". Error : .onAttach failed in 'attachNamespace' Error: package/namespace load failed for 'Rcmdr' ---------------------------------- I wondered if this is because t...
2009 Jun 11
0
Problem with tabbed notebook (tcltk, Iwidgets)
...done > library(tkrplot) > tclRequire("Iwidgets") <Tcl> 4.0.1 > > tt <- tktoplevel() > tkpack(tn <- tkwidget(tt, "iwidgets::tabnotebook")) *** caught segfault *** address 0xffffffb8, cause 'memory not mapped' Traceback: 1: .External("dotTclObjv", objv, PACKAGE = "tcltk") 2: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") 3: .Tcl.objv(.Tcl.args.objv(...)) 4: tcl(type, win, ...) 5: tkwidget(tt, "iwidgets::tabnotebook") 6: .Tcl.args.objv(...) 7: struct...
2009 Jun 12
0
Problem with tabbed notebook (tcltk, Iwidgets)
...done > library(tkrplot) > tclRequire("Iwidgets") <Tcl> 4.0.1 > > tt <- tktoplevel() > tkpack(tn <- tkwidget(tt, "iwidgets::tabnotebook")) *** caught segfault *** address 0xffffffb8, cause 'memory not mapped' Traceback: 1: .External("dotTclObjv", objv, PACKAGE = "tcltk") 2: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") 3: .Tcl.objv(.Tcl.args.objv(...)) 4: tcl(type, win, ...) 5: tkwidget(tt, "iwidgets::tabnotebook") 6: .Tcl.args.objv(...) 7: struct...
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
...size <- tclVar(50.000000) dist <- tclVar(1.000000) kernel <- tclVar("gaussian") bw <- tclVar(1.000000) bw.sav <- 1.000000 replot <- function(...) { if (is.null(y)) re .... [TRUNCATED] Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] bad window path name ".1". > demo(tkttest) demo(tkttest) ---- ~~~~~~~ Type <Return> to start : > require(tcltk) || stop("tcltk support is absent") [1]...
2008 Sep 01
2
Error with Rcmdr package
...ve checked in CRAN packages, the tcltk package doesn't exist anymore, but tcltk2. Any help is appreciated Regards Nguyen D Nguyen Garvan Institute of Medical Research Sydney, Australia library(Rcmdr) Loading required package: tcltk Loading Tcl/Tk interface ...Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "se". Error : .onLoad failed in 'loadNamespace' for 'tcltk' Error: package 'tcltk' could not be loaded
2006 Oct 17
2
tcltk crashes with bad color with text widget
...aged to crash R by supplying tcl/tk with an incorrect color. Is this a bug? is there a way for me to test the color to see if it is a valid tcl/tk color, to avoid this? tt=tktoplevel() tklabel(parent=tt, text="hello world", foreground="reed") Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] unknown color name "reed". An error is displayed as one would expect, however when I try tktext(parent=tt, foreground="blaaack") R crashes, rather than displaying an error as tklabel did. Th...
2008 May 14
2
console from tcltk
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") :...
2008 Mar 31
2
tkconfigure throws an error
...uot;Reporting date") b1=tkbutton(tt,text="Run") d.val<-tkentry(tt,width=12) tkgrid(heading,columnspan=2) tkgrid(l1,d.val) tkgrid(b1,columnspan=2) tkconfigure(b1,command=source("./src/f.imm2.R")) ######### and get inconsistent errors: 1. Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name ".6.4". ## when the tkconfigure is entered from R buffer 2. tkconfigure(b1,command=source("./src/f.imm2.R")) Error in switch(storage.mode(x), character = .External ("RTc...
2004 Nov 26
2
Tcl error - brace in argument?
Hi all, Does anyone know a solution for this error ? > tkwidget(dlg, "iwidgets::spinint", range="{0 23}") Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] wrong # args: should be ".31.1.19 configure -range {begin end}". Thanks, Matthew [[alternative HTML version deleted]]
2009 May 18
1
How to run Rcmdr in Mac Os X Tiger?
...un Rcdmr in Mac Os X? The error message when I launched Rcmdr fresh from a R session is: Version of R: R 2.8.1 GUI 1.27 Tiger build 32-bit (5301) > library(Rcmdr) Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "font". In addition: Warning message: In fun(...) : couldn't connect to display ":0" Error : .onAttach failed in 'attachNamespace' Error: package/namespace load fai...
2011 Oct 11
1
How to run Rcmdr with OS 10.4?
...version 2.9.2 (2009-08-24) [R.app GUI 1.29 (5464) powerpc-apple-darwin8.11.1] [Workspace restored from /Users/jfc/Documents/TravauxFR/.RData] Le chargement a n?cessit? le package : tcltk Chargement de Tcl/Tk... termin? Le chargement a n?cessit? le package : car Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "font". De plus : Warning message: In fun(...) : couldn't connect to display ":0" Error : .onAttach a ?chou? dans 'attachNamespace' Erreur : le chargement du packa...
2012 Mar 29
0
Subject: Re: Problems with R Commander version 1.8-3
....14.2 for Windows XP I have no problem with R Commander version 1.7-2, but now I have a problem with R Commander (Rcmdr) version 1.8-3. After I lunch R Commander (sdi as well standard) if I try to import data (i. from Stata datafile) I have this Warning message: Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] list element in braces followed by "{"STATA"" instead of space. and the process stop. The problem is also for SPPS and Excel (in the last case the warning message is: Error in structure(.Extern...
2020 Jun 07
5
use of the tcltk package crashes R 4.0.1 for Windows
...ton(tt, text = "Push", >> command = function()cat("OW!\n")) >> tkpack(label.widget, button.widget) # geometry manager >> --------------------- snip -------------------- > > > I can reproduce this. The backtrace shows the crash happens in > dotTclObjv [/src/library/tcltk/src/tcltk.c at 243 ]. This looks like a > bug that was introduced by commit 78408/78409 about a month ago. I > think the problem is that this commit changes 'calloc' to 'Calloc' > without changing the corresponding 'free' to 'Free'. >...
2020 Jun 07
7
use of the tcltk package crashes R 4.0.1 for Windows
Hi, The following code, from the examples in ?TkWidgets , immediately crashes R 4.0.1 for Windows: --------------------- snip -------------------- library("tcltk") tt <- tktoplevel() label.widget <- tklabel(tt, text = "Hello, World!") button.widget <- tkbutton(tt, text = "Push", command = function()cat("OW!\n")) tkpack(label.widget,
2008 Oct 27
1
ttkcombobox
...ow can I set the default value to something of my choice? I've tried the "set" argument as described in the "Tcl/Tk 8.5 Manual" but I received an error: cb <- ttkcombobox(p, values = letters[1:4], textvariable = l, set = "b") Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] unknown option "-set". Thanks, --sundar > sessionInfo() R version 2.7.2 (2008-08-25) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=En...
2012 Oct 04
1
problem with the installation of r commander on a mac
...), I got this error message: ===== Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car Loading required package: MASS Loading required package: nnet Error : .onLoad failed in loadNamespace() for 'Rcmdr', details: call: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") error: [tcl] invalid command name "tk_messageBox". In addition: Warning message: In fun(libname, pkgname) : couldn't connect to display ":0" Error: package/namespace load failed for ‘Rcmdr’ ===== The...
2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...; - R_forceSymbols(dll, FALSE); + R_forceSymbols(dll, TRUE); } I don't know what that was all about, and I'm also a bit puzzled a) that the .External lookup is so slow that you need to bypass it (would have thought that the byte compiler could speed it up) b) that you don't use dotTclObjv and friends to avoid parsing on the Tcl side. - pd > On 29 May 2024, at 00:25 , Reijo Sund <reijo.sund at uef.fi> wrote: > > I have a use case with tcltk-package where I need to repeatedly call Tcl/Tk functions > very quickly. For such purpose, the standard R-interface turned...