similar to: Tcltk changes in R 1.8.0

Displaying 20 results from an estimated 1000 matches similar to: "Tcltk changes in R 1.8.0"

2003 Jul 30
1
Tktable White column when WIDTH>13
On Wed, 30 Jul 2003 TSudler at ch.imshealth.com wrote: <SNIP> table1 <- tkwidget(tt,"table",variable="tclArray", rows=as.character(dim(datifram)[1]+1), cols=as.character(dim(datifram)[2]),titlerows="1", titlecols="3",selectmode="extended",height="27",
2004 Apr 23
4
Tcl Tk table
Hi I've a problem with the following example: library(tcltk) .Tcl("array unset tclArray") myRarray <- matrix(1:1000, ncol=20) for (i in (0:49)) for (j in (0:19)) .Tcl(paste("set tclArray(",i,",",j,") ",myRarray[i+1,j+1],sep="")) tt<-tktoplevel() table1 <- tkwidget(tt,"table",variable="tclArray",
2009 Jan 20
1
tclarray with embedded spaces in data
I would like to use a tclArray: mytkarray <- tclArray() as the variable for a table: table1 <- tkwidget(f1, 'table', variable= mytkarray) but if I include character strings with embedded spaces, I get braces appearing in the table. I can remove them using a non-R tclarray, (the difference between the first example of http://www.sciviews.org/_rgui/tcltk/Tktable.html and
2005 Sep 05
1
tcltk, X11 protocol error: Bug?
Hi, I am having trouble debugging this one. The code is attached below, but it seems to be a problem at the C-tk interface. If I run this 1 time there are no problems if I run it more than once I start to get warnings that increase in multiples of 11 everytime I run it. Here is a sample session > source("clrramp2.r") Loading required package: tcltk Loading Tcl/Tk interface ... done
2002 Feb 11
0
read.table in TCL/TK interface
hello, i would like program userfriendly tcl/tk widgets like the t-test example in a more complex way ! (1) Is it not possible to combine tk_getOpenFile with the R function read.table to select in userfriendly way data sets ? (I'm newbie and take code-parts from t-test example and scripting example.) (2) Is it possible to use a variableSelection widget to select a special variable which i
2007 Mar 29
0
tcltk, tclRequire and Tktable help
I know almost nothing about the tcltk library, and the documentation seems very poor. What's the meaning of this error, and is there any way to fix it? I'm running R 2.4.1 in a Windows XP machine where I have almost no privileges (but at home I am the Evil Overlord of a Linux machine...) library(tcltk) tclRequire("Tktable") # [1] FALSE # Warning message: # Tcl package
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"))
2009 Jun 12
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"))
2005 Aug 13
0
tkinsert matrix - how to display a matrix with tcltk
dear list, I have problems with tkinsert I need to display a matrix as a result of my function, but when I use tkinsert(txt, "end", myMatrix, sep="\n") I simply obtain a string. I do: n<-tclVar() tclObj(n)<-matrix(data, ncol=lenght) tkinsert(txt, "end", tclvalue(n), sep="\n") any hints? thank you in advance, simone gabbriellini
2003 Jul 29
1
Tktable active cell
Thomas Sudler <TSudler at ch.imshealth.com> wrote: > I want to start an action when i click into a cell. Example: When I click > into a cell, a message box should open with the information of the > location of the cell where I clicked in. <SNIP> So I only > need to know how to get the possition of the active cell. Thomas, Getting the active cell is easy, just use :
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all, Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif)
2008 Nov 03
1
possible tcltk event loop problem
Dear list members, Rich Heiberger reported to me last week that the Messages window in the Rcmdr GUI was freezing -- that is, messages posted to this window didn't appear -- under Windows and R 2.8.0. I was able to confirm this problem on three Windows systems, one using Vista and the other two XP. In each case, I used R 2.8.0 and Rcmdr 1.4-4 (the current version). The problem doesn't
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in width depending on the length of the selected entry in the list. This is a problem when the list contains items of varying width, because if a short item is picked then the longer entries are obscured in the drop-down list. Is this deliberate, an oversight, or a bug? Its certainly not how I''d choose it to act. Is
2001 Feb 22
2
Problem with tcltk listbox
Hi! I've got two problems with listboxes and selection: I created a listbox, no problem. Then I bind the Button-1 of the mouse to the listbox to start some things by pressing the mousebutton. The proiblem is that as I click a item of the listbox this error occured: Error in .Tcl(.Tcl.args(...)) : [tcl] bad listbox index "": must be active, anchor, end, @x,y, or a number. Repaeting
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list boxes with their individual scrollbars. But instead both scrollbars stick to the same listbox even though they work as they should (scroll individual listboxes). When I remove all the widgets on top everything works perfectly. Any help would be highly apprecciated. ps: all subsequent listboxes and scrollbars work
2006 Oct 21
0
tcltk: multiple listboxes, selection
Dear list, I have multiple (BWidget) listboxes in the same toplevel window. The problem is, if I select (by left clicking) on one of those listbox elements, the current selection in the *other* listboxes is cleared! Anybody knows how I can prevent this? Here's my code (sorry not complete): (E.g. If I select an X value, I'd lose the Y value I selected before) gui.create.tab.general <-
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject. Therefore, I send it again and two tcltk questions are appended. ---------------------------------------------------------------------------- Prasad wrote: > I wrote a function in R which uses tcltk package .... essentially I wanted > to give within that function, a widget with 2 radiobuttons to choose > between plotting Precip
2020 Jun 07
0
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
> On 7 Jun 2020, at 18:59 , Jeroen Ooms <jeroenooms at gmail.com> wrote: > > On Sun, Jun 7, 2020 at 5:53 PM <luke-tierney at uiowa.edu> wrote: >> >> On Sun, 7 Jun 2020, peter dalgaard wrote: >> >>> So this wasn't tested for a month? >>> >>> Anyways, Free() is just free() with a check that we're not freeing a null
2005 Sep 07
1
Using Tk table widget to display matrix
Has anyone written a matrix editor or data.entry() replacement using the Tk table widget? I've been playing around with the examples at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/tktable.html and making some progress, but I'd rather not spend much time on this if someone else has already done it. Jeff
2010 Apr 03
0
FXlistBox.fillItems() segmentation fault - Found Work-around
As my prior posts show, I was getting very random segmentation faults when repeatedly clearing items from a listbox and then repopulating the items. I was using the following statements: mylistbox.clearItems() mylistbox.fillItems(new_list) This would work for awhile, but after enough iterations of clearing and replacing the items in the listbox it would segmentation faults at the .fillItems