search for: wettenhall

Displaying 20 results from an estimated 57 matches for "wettenhall".

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...
2004 Jun 08
1
Nested shared library calls in Linux
...ttp://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Python call: /export/share/disk501/lab0605/wettenhall/usr/local/lib/ python2.2/site-packages/wx/_core.so: undefined symbol: PyExc_IOError I am working within my home area at the moment: ~ = /home/users/lab0605/wettenhall/ = /export/share/disk501/lab0605/wettenhall/ By running strace, I found that the Python command "import wx" correctly...
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 contribute similar examples with screenshots? Regards, James -------------------------------------------------------------------------- Ja...
2003 Mar 27
0
R TclTk iwidgets::combobox
...ey both fail in my old R session - maybe I've tclRequired another package or loaded another package which is interfering or maybe a Tcl object hasn't been cleaned from memory properly. Thanks very much for your help! Regards, James On 27 Mar 2003, Peter Dalgaard BSA wrote: > James Wettenhall <wettenhall at wehi.edu.au> writes: > > > Hi, > > > > I am trying to create a drop-down combobox in R TclTk. > > > > The following works fine for a ListBox but fails for a combobox: > > > > ################# THIS WORKS FINE - CREATES AN EMPTY...
2010 Jul 28
2
message box
Hi, I need some help figuring out how to make a pop-up message box appear with error messages when running a script using Rterm. Windows XP R2.10.1 ...possibly with the ability to either continue or abort the script? Thanks. M -- [[alternative HTML version deleted]]
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 <- function(...) { locator(5) } x <- 1:1000 y <- rnorm(1000) plot(x, y) base <- tktoplevel()...
2003 Mar 26
0
R TclTk iwidgets::comboboc
...e ?.listheight 185 ?.popupcursor hand1 .cb1 insert list end Jan Feb Mar Apr May June Jul Aug Sept Oct Nov Dec BTW, Thanks very much to all organizers and presenters at the DSC 2003 - a huge sucess! Regards, James -------------------------------------------------------------------------- James Wettenhall Tel: (+61 3) 9345 2629 Division of Genetics and Bioinformatics Fax: (+61 3) 9347 0852 The Walter & Eliza Hall Institute E-mail: wettenhall at wehi.edu.au of Medical Research, Mobile: (+61 / 0 ) 438 527 921 1G Royal Para...
2003 Apr 23
1
iwidgets in tcltk in R 1.7.0
...structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't find package iwidgets. Any suggestions would be greatly appreciated. Thanks, James -------------------------------------------------------------------------- James Wettenhall Tel: (+61 3) 9345 2629 Division of Genetics and Bioinformatics Fax: (+61 3) 9347 0852 The Walter & Eliza Hall Institute E-mail: wettenhall at wehi.edu.au of Medical Research, Mobile: (+61 / 0 ) 438 527 921 1G Royal Para...
2003 Nov 28
1
tcltk extension: documentation?
Hi all, i'm searching for a tutorial on the tcltk extension to R. I've looked at the pages linked to the R web site, and found the examples extremely useful, but I'd like something more. Does anyone know about other documents regarding this subject? Thank you very much ciao luca
2004 Feb 01
1
interactive 2-D plot interrogation
Greetings Friends: I am trying to find a widget or some other method to let me interrogate a 2-D image using the mouse. I have a data.frame that I can visualize using image() in R. I would like to point to a pixel and have its coordinates displayed. I've read Peter Dalgaard's primer on R-Tcl/Tk, R-News, 1(3):27-31, and his update R-News2(3):25-27, but am still struggling. Can anyone
2004 Oct 29
1
winDialog (equivalent) on Unix anyone ?
Hi, We have a few R scripts, that have a minimalistic GUI Interface using winDialog() calls. Is there any cross-plattform equivalent we can port to, such that the code will run on both Windows and Unix ? I thought about either tcltk or gtk Stuff. I was astonished that I couldn't find anything similar that had been implemented since the 0.99 release, or do I miss something obvius ? Yours,
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 Estuarine and Marine Ecology P.O. Box 140 4400 AC Yerseke Phone: +31 113 577473 h.andersson at nioo.knaw.nl...
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
2005 Dec 09
1
tkbind key pressed
Hi, I see in Wettenhall RTclTk Examples that tkbind(xxx, <Key>,...) can pass the key pressed. How can I get the key pressed? Thanks, Manel
2005 Oct 27
1
tree widget question
I'm trying to create an app using TclTk and R Can someone please explain how I bind a click event to the tree widget (http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/TreeWidget.html) Ideally I'd like to bind to particular elements in the tree but tkbind doesnt seem to work. thanks tom
2006 Jul 05
1
tcl/tk with R
Greetings: I would like to use tcl/tk with R, and have read "A Primer on the R-Tcl/Tk Package" by Peter Dalgaard in Rnews, Volume 1/3, September 2001. Are there more recent do-it-yourself instructions available? I have been unsuccessful with the example in the tcltk2 package due to a syntax error. I think that I have isolated the problem to this code snippet: for (i in
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 like yo...
2004 Jun 26
0
Re: plot.new() warning from coplot()'s par(*, new=FALSE)
{diverted from the R-SIG-gui list} >>>>> "PD" == Peter Dalgaard <p.dalgaard@biostat.ku.dk> >>>>> on 26 Jun 2004 11:51:02 +0200 writes: PD> James Wettenhall <wettenhall@wehi.edu.au> writes: >> Hi, >> >> Does anyone know a good way to get rid of warnings like: >> Warning message: calling par(new=) with no plot >> >> when using an R plot function which calls plot.new() >> (e.g....
2009 Sep 28
2
re trieve user input from an tcl/tk interface
...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 ( http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/modalDialog.html like this ) but I cannot figure out how to do this with multiple values to be read. I want to run a rather simple simulation and the user has to be able to set multiple parameters (say, number of trials and stimuli). The onOK-function should then "collect"...
2009 Jul 09
1
Changing text in a tkentry widget
...kgrid(entry.Name) OnChange <- function() { assign("Name",tclVar("changed name"),thisEnv) } Change.but <-tkbutton(tt,text=" Change ",command=OnChange) tkgrid(Change.but) tkfocus(tt) ################## (much of this is taken from http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/editboxes.html) Now, I thought the whole point of the textvariable argument was to change the content of the tkentry widget. But, as you can see by running this code, changing the Name variable using assign does not change the content of the widget. Is there a function to update...