Displaying 20 results from an estimated 200 matches similar to: "Problem with tcltk listbox"
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
2008 Nov 23
1
tklistbox - R-Objekt
Hello, I have a problem with a tklistbox. The user should be able to choose
one out of two calculation methods needed for further calculations. My
r-script for that purpose looks like that:
require(tcltk)
tt<-tktoplevel()
tl<-tklistbox(tt,height=4,selectmode="single",background="white")
tkgrid(tklabel(tt,text="select method for LAI
2008 Jul 22
1
tklistbox and extracting selection to R
Dear experts,
I am trying to understand why is it that when I paste (into the R console) the following code to select an option from a list:
require(tcltk)
tt<-tktoplevel()
tl<-tklistbox(tt,height=ntx,selectmode="single",background="white")
tkgrid(tklabel(tt,text="Select the legend of" ))
tkgrid(tl)
treatments<<-levels.tx
for(i in
2004 Feb 09
2
data.frame to matrix
Hello all,
I've had trouble converting a data.frame to a matrix (numeric) using either
data.matrix() and as.matrix().
After executing one of those I end up with another data.frame with only the
first column of the original data.frame.
I use a window (tcltk) to let the user choose the columns he wants and then
I retrieve them using the following:
varstemp <-
2013 Aug 03
1
tk + browser() can leave R unresponsive
I don't know if this is a bug. I can reproduce the following on Ubuntu
12.04.2 and 13.04 64-bit with R version 3.0.1 and with r63479. There
is no difference if R is patched with the fix for PR#15407 or not,
although without the fix there are more ways to trigger this.
I can reproduce with the following:
1. Open R in gnome-terminal or xterm
2. Run 'library(tcltk)'
3. Run
2011 Nov 28
5
window manager interface commands for linux
How can i replicate this in Linux:
source(file.choose())
I've tried source(tkgetOpenFile()) but with no luck
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 <-
2005 Apr 01
0
Selections from tcltk list boxes
Dear r-devel list members,
I've experienced the following problem in getting a selection from a Tk list
box using tcltk. This is a long-standing problem, but I've finally decided
to tackle it.
Consider the following:
Library(tcltk)
top <- tktoplevel()
listbox <- tklistbox(top, height="10", width="2", exportselection="FALSE",
2010 Mar 01
0
Multicolumn Listbox selectcommand trouble
Hey folks,
This is my first message to the mailing list so please let me know if I
mess something up.
I'm trying to use the selectcommand for the mclistbox but I'm not very
adept at using functions. Ideally I'd like to change the editor text when
a different list item is selected but any help using the selectcommand
would be appreciated and I think I could get the rest working.
2003 Jun 06
4
stuck tcltk scrollbars under Windows XP
Dear R-devel list members,
I've encountered a problem with my Rcmdr package under Windows XP and could
use some advice:
The Rcmdr package uses the tcltk package to create menus and dialog boxes.
My standard procedure when a dialog is created is to grab the focus -- e.g., by
tkfocus(top)
tkgrab(top)
(Here, top is a top-level window -- say, containing one or more
scrollbars.)
2003 Nov 27
1
tcltk - tkcreate question
Hello,
i'm trying to translate following tcltk source code, which I found in
newsgroup comp.lang.tcl, written by Tom Wilkason, into R Code.
proc scrolled_Canvas {base} {
frame $base.fm -borderwidth 2 -relief sunken
canvas $base.fm.cv -yscrollcommand "$base.fm.cv_vertscrollbar set"
scrollbar $base.fm.cv_vertscrollbar -orient vertical \
-command "$base.fm.cv
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 May 10
0
Resolved tklistbox selection problem
Turns out I needed to add "exportselection=0". So:
foo.lb <- tklistbox(root, height = 5,
selectmode = "extended", exportselection = 0)
Got this from:
http://tolstoy.newcastle.edu.au/R/e2/help/06/12/6955.html
(That's what I get for assuming there'd be no tcl/tk questions on this
list. D'oh!)
Cheers!
Mark
--
I'm taking reality in
2006 Mar 26
1
Newbie clustering/classification question
My laboratory is measuring the abundance of various proteins in the
blood from either healthy individuals or from individuals with various
diseases. I would like to determine which proteins, if any, have
significantly different abundances between the healthy and diseased
individuals. Currently, one of my colleagues is performing an ANOVA on
each protein with MS Excel. I would like to analyze
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 Dec 12
2
tklistbox...
Hi everyone,
I have different listboxes in the same toplevel window.
The problem is, if I select (by left clicking) one of those listbox
elements, the current selection in the other listboxes is cleared!
Anybody knows how I can prevent this?
Thanks,
---------------------------------------------------
Rita Sousa
DME - ME: Departamento de Metodologia Estatística - Métodos Estatísticos
INE -
2012 Nov 20
1
tcl/tk problem with tklistbox,the " " character and Rcmdr.
I everyone,
i have a little problem with tklistbox,the " " character and Rcmdr.
Please look at this code
require(tcltk)
tt<-tktoplevel()
levels.list2 <-tklistbox(tt,selectmode="multiple",exportselection="FALSE",
height=4, yscrollcommand=function(...)tkset(levels.list2.scroll,...))
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Jul 07
3
dynamically updating a listbox from another listbox
Hi,
I would like to be able to dynamically (without reloading the page)
change the values from one listbox when a user select items from another
listbox. I have a model ''Sector'' which has_many ''levels'' (and of cours,
''Level'' beyong_to ''sector''). I want to show the user two listboxes with
the sectors and levels. But