Displaying 20 results from an estimated 55 matches for "tkwidgets".
2011 Oct 06
0
initial value in ComboBox tkwidget
Hello,
I took me very long to find out how to set the initial value in the combobox
widget in tk (see the example below). My question is now : Why does
"textvariable" has to be a tclVar while "values" can be a normal vector? My
next question is: How could I have known this much earlier? Is there a
documentation for the tcl/tk usage in R? I know a lot of website with
example.
2007 Sep 20
1
packages MANOR, qvalue, and tkWidgets fail install on Fedora 7 with latest R-beta build
...us
2: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'qvalue' had non-zero exit status
3: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'tkWidgets' had non-zero exit status
> sessionInfo()
R version 2.6.0 beta (2007-09-18 r42895)
i686-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE...
2004 Mar 27
3
availability of version 1.9.0?
Dear R People:
When will version 1.9 (for Windows) be ready, please?
My reason for asking: there is an interesting library from
Bioconductor called tkWidgets. However, it will only
work with version 1.9.0 or higher.
Are there ways around this, or should I just be patient?
Thanks so much in advance!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uh...
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...
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",
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"))
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
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 <-
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"))
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",
2005 Jul 30
2
Premature termination of script
...rly new to R and I am writing a script that would take a file, as an
input, and generates a bunch of graphs out of it. My first task is to be
sure that the file is of the right type by looking if there is a valid
barcode in it as in (the barcode is beetween a double and single
underscore):
library(tkWidgets)
##############
#Loading a file
#testing if valid if not kill the execution
##############
data.file <- fileBrowser(textToShow="Select a splice junction array
extraction file")
if ( t <- regexpr("__\\d*_",data.file, perl=T) == -1){
cat ("The selected file does no...
2003 Mar 27
0
R TclTk iwidgets::combobox
Thanks Peter,
I've started a new R session (in Windows) and managed to get
both ways working now :
### THIS WORKS !!! ###
library(tcltk)
tclRequire("IWidgets")
tt<-tktoplevel()
combo <- tkwidget(tt,"iwidgets::combobox")
tkpack(combo)
### AND THIS WORKS TOO !!! ###
tt<-tktoplevel()
win <- .Tk.subwin(tt)
2003 Apr 17
1
Help with TCL packages
Hello,
I am exploring the TCLTK package under R and try to load and use additional TCL libraries (under Windows, with TCL8.3). For example :
> addTclPath("C:/TCL/lib/bwidget1.5")
> tclRequire("BWidget")
<Tcl> 1.5
Loading seems to work, but when I try to create a specific widget :
# The main window appears correctly
> top=tktoplevel()
# Trying to insert a
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
Dear list,
Could somebody who is more experienced with the Tcl/Tk interface from R
please help me clarify the issues I've put below with ### --> tags?
Several things go wrong, and it's probably because of messy code, but I
have a difficult time finding out what is the cause.
Thanks very much,
JeeBee.
require(tcltk) || stop("Package tcltk is not available.")
# Add path to
2007 May 13
1
Dropdown boxes in tcltk and R
Hello,
I'm very much a newbie in R and more so in tcltk so apologies if this
question is stupid. Basically I am trying to use the combobox example
found here:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html .
What I want to do is in that example get fruitChoice as a variable in R
in general. When I run that code, however, and the ask for fruitChoice
it says
2003 Jan 16
2
Built-in R GUI type features
All:
The select.list() command brings up a "modal dialog box with a (scrollable)
list of items ..." etc. -- i.e., a GUI control. I also know about winDialog,
file.choose and the winMenu commands. What other such GUIisms are built into
** base ** R (I know about the tcltk package)? Or, better yet, how can I
search on or list them?
Many thanks.
Bert Gunter
Biometrics Research RY 84-16
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
2020 Jun 07
5
use of the tcltk package crashes R 4.0.1 for Windows
...goes out of scope with the for loop).
-pd
> On 7 Jun 2020, at 16:00 , Jeroen Ooms <jeroenooms at gmail.com> wrote:
>
> On Sun, Jun 7, 2020 at 3:13 AM Fox, John <jfox at mcmaster.ca> wrote:
>>
>> 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 =...
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,
2004 Dec 28
1
win variable in tcltk
The following gives an error message:
library(tcltk)
win <- list(env="A")
tt <- tktoplevel()
but <- tkbutton(tt, text="X", command=expression(tkdestroy(tt)))
tkgrid(but)
however, if one comments out the win line (and removes the
win variable) then it works. It seems that tcltk is making
use of a variable called win with a component name of env
and I just happened