Displaying 20 results from an estimated 2000 matches similar to: "tcltk wish: Add tclObj.raw method for converting raw vectors to tclObj"
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
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
2006 Oct 17
2
tcltk crashes with bad color with text widget
Hello
I have been playing with tcl/tk in R 2.4.0 on windows XP and have
managed 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,
2012 Aug 29
1
Problem Installing a Package
I have just installed the latest version of R on a openSUSE 12.1 system
running on an ORacle VM VirtualBox and have encountered a problem with
installing ChemometricsWithR. Here is the output:
> library("compiler")
> install.packages("ChemometricsWithR")
Installing package(s) into ?/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15?
(as ?lib? is unspecified)
2012 Aug 24
1
Error while installing gsubfn_0.6-4.tar.gz for R 2.15.1
Hi,
I am getting the follwoing error while installing gsubfn_0.6-4.tar.gz library for R. R version is 2.15.1 and i am installing on Redhat linux version 2.6.18-238.9.1.el5 (mockbuild at x86-002.build.bos.redhat.com<mailto:mockbuild at x86-002.build.bos.redhat.com>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50))
* installing to library ?/home/mapred/installables/R/library?
* installing
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
Hello,
I?m using R 2.11.1 with Tinn-R 1.17.2.4.
I hope the given informations are enough (it?s my first entry here)
The as.environment(pos) error appears in using the following code which
should open a function in an other R-file.
Here some extractions of the code:
....
HZ<-tclVar(seq(length=a,from=1,by=0)) #(a is defined by a
tkentry-element)
VZ<-tclVar(seq(length=a,from=1,by=0))
2003 Apr 23
1
iwidgets in tcltk in R 1.7.0
Hi,
I have successfully installed R 1.7.0 and ActiveTcl 8.4.2.0 in
Windows 2000. Yes, I know that Tcl is already bundled with
R 1.7.0, but I want to use the iwidgets package to create a
drop-down listbox, and I don't think iwidgets is included in the
bundled R 1.7.0/TclTk installation package. I have set the
environment variables TCL_LIBRARY and MY_TCLTK to the directory
where I
2010 Aug 12
2
accessing tcl variables within R and tcl
Dear R users,
I have some troubles with dealing with tclObj objects. I try to explain
it with a toy example:
Say I define the following tcl procedure which just prints out each list
element
library(tcltk)
.Tcl('proc test {myList} {
foreach i $myList {
puts stdout $i
}
}')
and I call it with:
> tcl('test',letters[1:5]) # Works as expected
Now say I define
2020 Jun 11
4
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Hello everyone
I am not sure when this appeared
(sometime post R 3.5.0 and after I switched to Mac OS Catalina).
I do not think it happens on all platforms (e.g. seems to work on windows).
But it seems that
tkimage.create()
no longer works on a Mac for all png files.
(It does work for *some* old png files I have on disk but I have not been able to determine what is different about the
2003 Apr 25
1
tcltk tkfilefind demo problem
Hi everyone,
I wonder if anybody observed the crash of the tkfilefind demo. I looked
into the code and it seems to crash executing
dirtree<-tkwidget(base, "hierarchy_dir",
root=path,
showparent="Parent",
showfiles=1,
showall=all.names,
2007 Oct 09
1
misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?
I don't know whether this is specific to (my installation
of) SUSE 10.1, or is more general.
With R 2.6.0, I am finding that some widgets made through
the tcltk package are having problems which become evident
through scrollbar activity. An example is demo(tkfaq) --
see below. To reproduce the problem, I do the following:
after the tk window appears, hold down the
2006 Jun 26
1
Some tcltk-related packages not loading (OS X)
Dear r helpers,
In my exploration of the tcltk facilities of R I've had some success
but some failures, and wonder if someone could point me to a
solution. To begin:
******************************************************
> sessionInfo()
Version 2.3.1 (2006-06-01)
powerpc-apple-darwin8.6.0
attached base packages:
[1] "tcltk" "methods" "stats"
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
I don't know what has changed with Catalina
But I just tried my tk console from the shell command tkcon
And got the following error.
Here is my shell:
$ tkcon
dyld: Library not loaded: /usr/local/lib:/opt/X11/lib/libtk8.6.dylib
Referenced from: /usr/local/bin/wish
Reason: image not found
Abort trap: 6
I don't know whether this is a red herring or not, but the
2025 Jan 21
1
[tcltk] binding two functions to one event
This is in the obscure corners of the tcltk interface, as I am sure you already realized...
I'm not even sure whether the "+" in bind .... +script is syntactically an operator or part of the command.
However, it is usually not right to define named functions on the Tcl side and mix them with the ones R/Tcl interface generate.
So I am thinking that if
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".
2003 Oct 22
1
Core dump when calling tclvalue (PR#4724)
Full_Name: Neil McKay
Version: 1.8.0
OS: Linux (RedHat 7.1)
Submission from: (NULL) (129.124.42.210)
I get a core dump when executing the following code:
> library("tcltk")
> zzz<-tclArray()
> tclvalue(zzz)
Running under gdb gives this output:
Program received signal SIGSEGV, Segmentation fault.
makeRTclObject (tclobj=0x0) at tcltk.c:48
48
2008 Oct 30
1
tklistbox selection
Hi,
I'm posting yet another question about tcltk since I'm still struggling
with the package. I'm trying to create a tklistbox and a ttkcombobox on
the same parent and am having a problem. Here's an example:
library(tcltk)
tt <- tktoplevel()
tcl1 <- tclVar()
tcl2 <- tclVar()
tclObj(tcl1) <- letters[1:5]
tclObj(tcl2) <- LETTERS[1]
tb1 <- tklistbox(tt,
2012 Mar 28
1
Problems with R Commander version 1.8-3
Dear all,
I use R 2.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 =
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
2009 Jun 11
0
Problem with tabbed notebook (tcltk, Iwidgets)
Hi,
I'm using R version 2.9.0 and I'm trying to execute an example using
tabnotebook from iwidgets. Unfortunately I get a problem as you can see
bellow:
> library(tcltk)
Loading Tcl/Tk interface ... done
> library(tkrplot)
> tclRequire("Iwidgets")
<Tcl> 4.0.1
>
> tt <- tktoplevel()
> tkpack(tn <- tkwidget(tt, "iwidgets::tabnotebook"))