Displaying 20 results from an estimated 500 matches similar to: "tree widget question"
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
2009 Jul 09
1
Changing text in a tkentry widget
I searched the web and the list archives for a solution to this, but
didn't see anything, so here goes. I'm new to tcltk. I'm trying to
change the contents of a tkentry widget when a button is pressed. Once I
get that working, the widget will be read only to the user. Here is some
toy code:
###############
require(tcltk)
thisEnv=environment()
tt<-tktoplevel()
Name <-
2009 Sep 28
2
re trieve user input from an tcl/tk interface
Hello everyone,
this is my first post here and I hope I signed up correctly and someone will
take me by the hand and help me out. I am new to R and cannot figure out
what to do here...
... I want to have an User Interface that requests input. I want to save
this input to a variable to use it later on. I was able to do this with a
modalDiaglog (
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
2008 Jun 16
0
Display a jpeg inside a widget which already has text
Hi
I am trying to insert a jpeg into a widget I have created.
I have used this link
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/showImage.html to
display a jpeg inside a newly created widget but would like some info on how
to insert into a pre existing widget.
This is my code below for my first widget.
tt<-tktoplevel()
fontHeading2 <-
2003 Apr 24
3
R TclTk Examples
Hi,
I've been learning how to use R TclTk in Windows over the last
few months.
I have recently put together a collection of examples of
some common widgets and their corresponding R code, at
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/
I would be interested in any feedback - Is it useful? Does it
contain any significant errors or bad coding style? Does anyone
else want to
2008 May 07
1
Aling elmentos into Windows with TK
Hello!!
I would like create a window that has diferent element as:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/checkboxes.html
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/radiobuttons.html
I know as make it, but I don?t know as I could (align the diferent elemnts
to left, right, top, bottom) or (put in a coordinates into windows).
If anybody know as I could make it, I would
2007 Jun 13
1
Offline ? Searching for James Wettenhall's TclTk Examples
Hi,
as a starting point for using Tcl/Tk in R, I used to refer
to James Wettenhall's nicely presented TclTk Examples
formerly hosted at
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/
These days I have been trying to reach these pages but without
success.
Does anyone know (James, himself, perhaps ;-) whether they
are / will be available at some other location --- it would
be a pity
2005 Jun 04
2
locator() via tcltk
Hello,
I'm trying to write a function using tcltk to interactively modify a plot
and gather locator() data. I've read Peter's articles in Rnews, the help
pages in tcltk, http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/,
plus a post in R-help sometime ago, but haven't found a solution.
The idea goes something like this:
require(tcltk)
testplot <- function() {
getcoords
2005 Feb 04
1
Output from function to a tcltk window
I would like to display output to a tcltk window from e.g. a call to
summary().
I tried to get something else than oneliners into a text window of the
kind found at:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/TextWindows.html
But without success.
Henrik
-------------------------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for
2011 Jun 03
2
tkrplot Newbie
Hello,
I am trying to write a tcltk based program that plots/manipulates
xts/xoo time series objects.
I have the code I used from
## http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/tkrplot.html :
##
require(quantmod)
require(tcltk)
library(tkrplot)
Sys.setenv(TZ="GMT")
getSymbols("^GSPC", from = "1960-01-01")
Myhscale <- 2.5 # Horizontal scaling
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
2011 Mar 23
1
Corrupt trees
Hi Everyone,
I have been using the "tree" package for a while with no problems until now.
When I run predict(tree, newdata), I get an error with the message "Corrupt tree" for about 50% of the trees that I generate with tree. For other trees, the predict function completes with no errors.
I haven't identified a correlation between the corrupt trees and the working tree.
2005 Aug 03
1
tree/graph data structure APIs?
What is the best code available for simple general purpose
manipulation of tree (and/or directed graph) data structures in R?
Looking through CRAN, I see a bunch of packages for stastical
regression trees, but nothing that seems to provide an API for
manipulating tree data structures. What I'm looking for is something
along the lines of an R version of the Tcllib ::struct::tree API
available
2007 Nov 12
3
help on drawing a tree with "ape"?
Dear all,
I'm using the "ape" package in R and want to draw a
phylogenetic tree with not only the tip labels but
also some labels for the edges. e.g. Mark the edge AB
as "m" in the tree ABC.
Couldn't find a way to do that. Can someone help?
Thanks,
Hua
2004 Feb 08
1
APE: compar.gee( )
Dear all,
I don't understand the following behaviour: Running compar.gee (in
library ape ) with and without the option 'data', it give me different
results
Example:
.... Start R ....
> load("eiber.RData")
> ls()
[1] "gee.na" "mydata" "mytree"
> library(ape)
> # runnig with the option data= mydata
> compar.gee(alt ~ R,
2003 Sep 30
3
Adding Tk extensions to R for windows
Hi,
I'm developing an R/TclTk application which uses the BWidget and
Tktable Tk extensions and I'm trying to make it easy to install.
For now, I'm focusing on Windows users who start with nothing.
I have built Tcl/Tk and Tktable for windows using Msys/MinGW.
(BWidget contains only Tcl scripts so does not need building.)
I have then copied Tktable and BWidget into the lib subdirectory
2006 May 18
2
Classification trees and written conditions
Dear All
When drawing a classification tree with
plot(mytree)
text(mytree)
the conditions are written just before the nodes branch. My question
is: can one be certain that those conditions refer to the left-side
branches? (The R documentation surprisingly lacks the information that
I am asking for.)
Thanks in advance,
Paul
2009 Dec 07
2
problem in labeling the nodes of tree drawn by rpart
Hi all,
I used rpart to fit a model, where the covariates in the model are
categorical variables.
Then I plotted the tree (mytree) and used the command "text" to add labels
to the tree.
In the nodes of the tree, the values of the covariates are represented with
a, b or c.
Is there a way to show the real value(s) of the variable in the nodes
instead of a, b or c ?
I found that the
2006 Feb 02
2
Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI
[PLEASE REPLY _OFF_ THE LIST, i.e. DON'T CC to r-help at ...]
Hi,
I don't see this sort of thing very often on the mailing lists, so list
moderators and others should feel free to tell me if it breaches list
etiquette and/or delete my post if necessary. But I can't see what harm
it could do...
I am just wondering approximately how many people use / have used some of
the R stuff