Re: [R] tcl/tk help

2007-09-07 Thread Gabor Csardi
See http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#TclTk-issues Gabor On Fri, Sep 07, 2007 at 05:59:31PM -0400, Jon Loehrke wrote: > I am running R 2.5 on a Mac platform and have a difficulty loading the > Tcl/Tk package. > > Specifically: > > R>library(tcltk) > Loading Tcl/Tk interface

[R] tcl/tk help

2007-09-07 Thread Jon Loehrke
I am running R 2.5 on a Mac platform and have a difficulty loading the Tcl/Tk package. Specifically: R>library(tcltk) Loading Tcl/Tk interface ... Error in fun(...) : couldn't connect to display ":0" Error : .onLoad failed in 'loadNamespace' for 'tcltk' Error: package/namespace load failed for 't

[R] tcl/tk printing to console is far too slow

2007-03-03 Thread Alex Couture-Beil
Hello - I am finding that printing to the console from a function that is invoked from tcl/tk (i.e. pushing a button) is really slow. Consider the following example. doStuff <- function() { source(file.path(system.file(package = "base"), "demo", "is.things.R"), echo=TRUE) } tt <- tktoplevel

Re: [R] TCL/TK and R documentation?

2007-01-10 Thread Peter Dalgaard
Michael Prager wrote: > I am hoping something has changed since I last asked about this. > > Is there any good source of documentation, including examples, of > using tcl/tk as a gui for R applications? > Well, this probably hasn't changed, but did you see it in the first place? http://bioinf.weh

[R] TCL/TK and R documentation?

2007-01-10 Thread Michael Prager
I am hoping something has changed since I last asked about this. Is there any good source of documentation, including examples, of using tcl/tk as a gui for R applications? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinf

Re: [R] R tcl/tk

2006-10-24 Thread Prof Brian Ripley
On Tue, 24 Oct 2006, JeeBee wrote: > Try: > R.home() > > This is the directory in which R is installed, > for me R_HOME is /usr/lib/R. > I don't have a /usr/lib/R/Tcl/doc though, perhaps you do ... > I do have a /usr/lib/R/doc, but there's no Tcl inside there either. Alberto Monteiro was quoting

Re: [R] R tcl/tk

2006-10-24 Thread JeeBee
Try: R.home() This is the directory in which R is installed, for me R_HOME is /usr/lib/R. I don't have a /usr/lib/R/Tcl/doc though, perhaps you do ... I do have a /usr/lib/R/doc, but there's no Tcl inside there either. For Tcl documentation I can suggest wiki.tcl.tk, it's a great site. Then, yo

Re: [R] R tcl/tk

2006-10-23 Thread Alberto Monteiro
Gabor Grothendieck wrote: > >>> But then when I ask help.search("R_HOME"), I get nothing. >>> >>> Is something missing here in those help pages? > > Note that R_HOME corresponds to the R.home() path > So I guess there _is_ something missing in those help pages, after all! Instead of R_HOME, the he

Re: [R] R tcl/tk

2006-10-23 Thread Prof Brian Ripley
On Mon, 23 Oct 2006, Alberto Monteiro wrote: > > This must be dumbest question ever asked, but... > > When I ask help.search("tcltk"), I get a reference to tcltk-package. > > When I ask help("tcltk-package"), I get "rtfm(s) in 'R_HOME/Tcl/doc'". > > But then when I ask help.search("R_HOME"), I get

Re: [R] R tcl/tk

2006-10-23 Thread Gabor Grothendieck
On 10/23/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 10/23/2006 10:11 AM, Alberto Monteiro wrote: > > This must be dumbest question ever asked, but... > > > > When I ask help.search("tcltk"), I get a reference to tcltk-package. > > > > When I ask help("tcltk-package"), I get "rtfm(s) in 'R_H

Re: [R] R tcl/tk

2006-10-23 Thread Duncan Murdoch
On 10/23/2006 10:11 AM, Alberto Monteiro wrote: > This must be dumbest question ever asked, but... > > When I ask help.search("tcltk"), I get a reference to tcltk-package. > > When I ask help("tcltk-package"), I get "rtfm(s) in 'R_HOME/Tcl/doc'". > > But then when I ask help.search("R_HOME"), I

[R] R tcl/tk

2006-10-23 Thread Alberto Monteiro
This must be dumbest question ever asked, but... When I ask help.search("tcltk"), I get a reference to tcltk-package. When I ask help("tcltk-package"), I get "rtfm(s) in 'R_HOME/Tcl/doc'". But then when I ask help.search("R_HOME"), I get nothing. Is something missing here in those help pages?

Re: [R] R tcl/tk

2006-10-23 Thread Charles Annis, P.E.
g.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Dalgaard Sent: Monday, October 23, 2006 9:48 AM To: [EMAIL PROTECTED] Cc: 'Peter Dalgaard'; r-help@stat.math.ethz.ch Subject: Re: [R] R tcl/tk "Charles Annis, P.E." <[EMAIL PROTECTED]&g

Re: [R] R tcl/tk

2006-10-23 Thread Peter Dalgaard
"Charles Annis, P.E." <[EMAIL PROTECTED]> writes: > Peter: > > Thank you for your response. I apologize for not sending a reproducible > example. I have attached a reproducible example of the problem here. This > is a much abbreviated version of my problem and even so it's rather long for > an

Re: [R] R tcl/tk

2006-10-23 Thread Charles Annis, P.E.
tkgrid(tklabel(t2,text=" Must click OK\nto register changes. "), (OK.but), sticky="e") tkgrid(OK.but, sticky="w") tkfocus(t2) } tcl.tk.example(PROBLEM = TRUE) tcl.tk.example(PROBLEM = FALSE) ##

Re: [R] R tcl/tk

2006-10-23 Thread Peter Dalgaard
"Charles Annis, P.E." <[EMAIL PROTECTED]> writes: > Friends: > > I am a long-time R user, learning tcl/tk, and am tying myself in knots over > something that should be simple. > > I want to create a frame and put that frame inside the toplevel frame. > > This works (i.e. it places text in col

[R] R tcl/tk

2006-10-22 Thread Charles Annis, P.E.
Friends: I am a long-time R user, learning tcl/tk, and am tying myself in knots over something that should be simple. I want to create a frame and put that frame inside the toplevel frame. This works (i.e. it places text in col 1, and the corresponding entry box in column 2) and later frame.2

Re: [R] tcl/tk bind destroy event

2006-08-03 Thread Franco Mendolia
> I don't think that is it. As I read it, Tk catches the Destroy event > alright, but the problem is that it is too late: the window > destruction is already in motion at the time and there's no way to > "undestroy" it from within binding. I think you need to create a "wm > protocol" handler for W

Re: [R] tcl/tk bind destroy event

2006-08-03 Thread Peter Dalgaard
Jean Coursol <[EMAIL PROTECTED]> writes: > Perhaps Destroy key is unknown by Tcl; it is not in the > Event modifiers table in Welch Book... > But try with or , it runs > (but not with ??). I don't think that is it. As I read it, Tk catches the Destroy event alright, but the problem is that it i

Re: [R] tcl/tk bind destroy event

2006-08-03 Thread Franco Mendolia
Hi! > Perhaps Destroy key is unknown by Tcl; it is not in the > Event modifiers table in Welch Book... I think the Destroy key is known, because when destroying the window with Alt-F4 or the littel x in the topcorner my function exitProg is executed. What I actually search for is a possibility

Re: [R] tcl/tk bind destroy event

2006-08-03 Thread Jean Coursol
Perhaps Destroy key is unknown by Tcl; it is not in the Event modifiers table in Welch Book... But try with or , it runs (but not with ??). Use xmodmap to see the current mappings from keys to modifiers. Jean Coursol On Wed, 2 Aug 2006, Franco Mendolia wrote: > Hello! > > I want to create a m

[R] tcl/tk bind destroy event

2006-08-02 Thread Franco Mendolia
Hello! I want to create a messagebox whenever the user wants to destroy the window (e.g. or the 'x' in the right top corner) and ask if a modified file should be saved or not. If 'cancel' is chosen then nothing should happen and the windows still should be existing. This doesn't work. When I

Re: [R] tcl/tk with R

2006-07-05 Thread Gabor Grothendieck
Also note the last link on that page which gives sources of other info. On 05 Jul 2006 23:30:26 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > "Charles Annis, P.E." <[EMAIL PROTECTED]> writes: > > > Greetings: > > > > I would like to use tcl/tk w

Re: [R] tcl/tk with R

2006-07-05 Thread Peter Dalgaard
"Charles Annis, P.E." <[EMAIL PROTECTED]> writes: > 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-yours

[R] tcl/tk with R

2006-07-05 Thread Charles Annis, P.E.
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 t

[R] Tcl/Tk failing in JGR, but not in R for Mac OS X GUI

2006-06-26 Thread Michael Kubovy
Dear r-helpers, I wonder if you can figure out why the following is working: > sessionInfo() Version 2.3.1 (2006-06-01) powerpc-apple-darwin8.6.0 attached base packages: [1] "tcltk" "methods" "stats" "graphics" "grD

[R] Some R-Tcl/Tk-BWidget newbie questions.

2006-06-21 Thread JeeBee
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, J

Re: [R] tcl/tk - Problem unter MacOS X / X11

2006-02-23 Thread Achim Kayser
Thanks Rob ! That was it ! I had forgotten two of them. Now the GUI comes up nicely. I' ll test it out an keep you posted. Regards Achim Rob J Goedman schrieb: > Achim, > > For the RGUI part: > > Have you installed the required packages for Rcmdr (e.g. abind, car, > effects, lmtest, multcomp,

Re: [R] tcl/tk - Problem unter MacOS X / X11

2006-02-23 Thread Rob J Goedman
Achim, For the RGUI part: Have you installed the required packages for Rcmdr (e.g. abind, car, effects, lmtest, multcomp, mvtnorm, relimp, sandwich, strucchange, and zoo)? Rob On Feb 23, 2006, at 3:01 AM, Achim Kayser wrote: > Hallo ! > > Ich habe versucht Rcmdr unter MacOSX 10.4.5 zu inst

Re: [R] tcl/tk - Install problem using MacOS X / X11

2006-02-23 Thread John Fox
TED] > [mailto:[EMAIL PROTECTED] On Behalf Of Achim Kayser > Sent: Thursday, February 23, 2006 8:38 AM > To: r-help@stat.math.ethz.ch > Subject: [R] tcl/tk - Install problem using MacOS X / X11 > > Hi > > Sorry, my first post was in German. > > I tried to get Rcmdr

[R] tcl/tk - Install problem using MacOS X / X11

2006-02-23 Thread Achim Kayser
Hi Sorry, my first post was in German. I tried to get Rcmdr running under MacOS X 10.4.5. While RGui pretends that tcltk is running, starting Rcmdr freezes R completely. Instead, JGR which gave me the following results: > library(tcltk) Loading Tcl/Tk interface ... Error in fun(...) : no displ

[R] tcl/tk - Problem unter MacOS X / X11

2006-02-23 Thread Achim Kayser
Hallo ! Ich habe versucht Rcmdr unter MacOSX 10.4.5 zu installieren. RGui zeigt an, dass tcl/tk laufen. Bei Aufruf von Rcmdr friert R jedoch komplett ein. JGR zeigt im Paketmanager dagegen an, dass tcl/tk nicht gestartet werden konnte und spuckt folgende Meldung aus: > library(tcltk) Loading

Re: [R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread David Firth
On Thursday 02 February 2006 12:53, you wrote: ... > [PLEASE REPLY _OFF_ THE LIST, i.e. DON'T CC to > [EMAIL PROTECTED] oops! I just realised that I hit the wrong button and replied to r-help just now... Sorry! I guess that *is* one of the perils of sending a request such as this to a mailing

Re: [R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread David Firth
I have used your R-Tcl/Tk Examples. (Thanks! The ideas were much appreciated.) I am from the United Kingdom. David -- Professor David Firth http://www.warwick.ac.uk/go/dfirth __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread James Wettenhall
arm it could do... I am just wondering approximately how many people use / have used some of the R stuff I've developed (and in how many countries). In particular I'm talking about the R-Tcl/Tk examples I've put at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/ and/or my

Re: [R] Tcl/tk [for Mac OS X]

2005-11-02 Thread Paul Roebuck
On Tue, 1 Nov 2005, Sokol Haxhinasto wrote: > I recently installed the R (the most recent) and Bioconductor on my > computer. > I installed the packages in "affy", the affyGui and the limmaGui on my > computer and they all appear in the Load Package window. > After trying to load the affyGui or th

[R] Tcl/tk

2005-11-01 Thread Sokol Haxhinasto
Hello, I recently installed the R (the most recent) and Bioconductor on my computer. I installed the packages in "affy", the affyGui and the limmaGui on my computer and they all appear in the Load Package window. After trying to load the affyGui or the limmaGui packages I receive the following mes

Re: [R] tcl/tk return problem

2005-08-31 Thread Philippe Grosjean
Duncan Murdoch wrote: > On 8/31/2005 8:57 AM, Prof Brian Ripley wrote: > >> On Wed, 31 Aug 2005, Duncan Murdoch wrote: >> >>> Prof Brian Ripley wrote: >>> > On Wed, 31 Aug 2005, Philippe Grosjean wrote: >>> > >>> > >>> >>deggle wrote: >>> >> >>> >>>Hello, >>> >>> >>> >>>I'm very new in working wit

Re: [R] tcl/tk return problem

2005-08-31 Thread Duncan Murdoch
On 8/31/2005 8:57 AM, Prof Brian Ripley wrote: > On Wed, 31 Aug 2005, Duncan Murdoch wrote: > >> Prof Brian Ripley wrote: >> > On Wed, 31 Aug 2005, Philippe Grosjean wrote: >> > >> > >> >>deggle wrote: >> >> >> >>>Hello, >> >>> >> >>>I'm very new in working with tcl/tk in R and have a problem whic

Re: [R] tcl/tk return problem

2005-08-31 Thread Prof Brian Ripley
On Wed, 31 Aug 2005, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > > On Wed, 31 Aug 2005, Philippe Grosjean wrote: > > > > > >>deggle wrote: > >> > >>>Hello, > >>> > >>>I'm very new in working with tcl/tk in R and have a problem which will > >>>probably > >>>sound silly to most of you. > >>>H

Re: [R] tcl/tk return problem

2005-08-31 Thread Duncan Murdoch
Prof Brian Ripley wrote: > On Wed, 31 Aug 2005, Philippe Grosjean wrote: > > >>deggle wrote: >> >>>Hello, >>> >>>I'm very new in working with tcl/tk in R and have a problem which will >>>probably >>>sound silly to most of you. >>>Here is the code I have problems with: >>> >>>readcelfiles <- funct

Re: [R] tcl/tk return problem

2005-08-31 Thread Prof Brian Ripley
On Wed, 31 Aug 2005, Philippe Grosjean wrote: > deggle wrote: > > Hello, > > > > I'm very new in working with tcl/tk in R and have a problem which will > > probably > > sound silly to most of you. > > Here is the code I have problems with: > > > > readcelfiles <- function() > > { > >require(tc

Re: [R] tcl/tk return problem

2005-08-31 Thread Philippe Grosjean
deggle wrote: > Hello, > > I'm very new in working with tcl/tk in R and have a problem which will > probably > sound silly to most of you. > Here is the code I have problems with: > > readcelfiles <- function() > { >require(tcltk) >tt <- tktoplevel() >tkgrid(tklabel(tt,text="Choose a

[R] tcl/tk return problem

2005-08-31 Thread deggle
Hello, I'm very new in working with tcl/tk in R and have a problem which will probably sound silly to most of you. Here is the code I have problems with: readcelfiles <- function() { require(tcltk) tt <- tktoplevel() tkgrid(tklabel(tt,text="Choose a directory!")) OnOK <- function() {

Re: [R] tcl/tk problem

2005-04-27 Thread Jari Oksanen
On Wed, 2005-04-27 at 15:57 -0700, Jennifer Skene wrote: > > library(grasper) > Loading required package: mgcv > This is mgcv 1.1-8 > Loading required package: MASS > Loading required package: tcltk > Error in dyn.load(x, as.logical(local), as.logical(now)) : > unable to load shared library

[R] tcl/tk problem

2005-04-27 Thread Jennifer Skene
I have JUST started using R. I am using R 2.0.1 on a mac (os x) to run another program (called GRASPER, Generalized Regression Analysis and Spatial Prediction for R). When I try to run Grasper, I get an error for tcl/tk: library(grasper) Loading required package: mgcv This is mgcv 1.1-8 Load

Re: [R] Tcl/tk

2005-02-15 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > I am new to R so I apologize if this is a simple question > > I have created a tkgrid with a button that, once pushed, will extract the > information from the grid, but I can not figure out the command to save the > entries from my grid. > Any thoughts? Several, all s

[R] Tcl/tk

2005-02-15 Thread Alexander . O . BETTINARDI
I am new to R so I apologize if this is a simple question I have created a tkgrid with a button that, once pushed, will extract the information from the grid, but I can not figure out the command to save the entries from my grid. Any thoughts? Thanks Alex Bettinardi Transportation Analyst TDD -

Re: [R] tcl/tk

2004-09-30 Thread Uwe Ligges
Filippo BISCARINI wrote: Hi all, I am already using R under Window and would like now to try and install it under Unix; I read I need tcl/tk installed so I connected to http://www.scriptics.com downloaded the file and extracted them to a directory tcltk beside R. I configured (./configure) both pac

[R] tcl/tk

2004-09-30 Thread Filippo BISCARINI
Hi all, I am already using R under Window and would like now to try and install it under Unix; I read I need tcl/tk installed so I connected to http://www.scriptics.com downloaded the file and extracted them to a directory tcltk beside R. I configured (./configure) both packages (tcl and tk) and c

[R] Tcl/Tk and R

2004-07-14 Thread Talita Leite
Hi!! I'm using the R package tcltk. See the stretch of code below: tbn1 = tclvalue(tkadd(tn,label="Modify Data")) tkpack(tbw1 <- .Tk.newwin(tbn1)) tkpack(fr1 <- tkframe(tbw1)) tkpack(lb1<- tkwidget(fr1,"iwidgets::labeledframe")) When I try to execute this I have this error at the last line: Error i

Re: [R] question about possibility with R - Tcl/tk library

2004-05-10 Thread Peter Dalgaard
Julien Glenat <[EMAIL PROTECTED]> writes: > Hi , i am using the R(1.8.1) tcl/tk library in order to build a graphical > user interface to mathematic function and i would like to know if it is > possible to retrieve the value of a tkentry to make a R vector > > for exemple with an entry contai

[R] question about possibility with R - Tcl/tk library

2004-05-10 Thread Julien Glenat
Hi , i am using the R(1.8.1) tcl/tk library in order to build a graphical user interface to mathematic function and i would like to know if it is possible to retrieve the value of a tkentry to make a R vector for exemple with an entry containing "1,2,3,4,5" i want to make a vector which cont

Re: [R] Tcl Tk table

2004-04-23 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > tkcmd(.Tk.ID(table1),"tag","celltag","gruen",list(c("3,3", "4,4", "5,5", "6,6", > "7,7", "8,8"))) Did that ever work? Prior to 1.8.0, a character vector would get expanded to multiple arguments, but not lists, AFAIR. The character vector expansion was sort of a nice

[R] Tcl Tk table

2004-04-23 Thread thsudler
x), character = .External("RTcl_ObjFromCharVector", : Cannot handle object of mode list Do you know why this could be? Thomas - Original Message - From: "Peter Wolf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April

Re: [R] Tcl Tk table

2004-04-23 Thread Peter Wolf
[EMAIL PROTECTED] wrote: 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 <- tk

[R] Tcl Tk table

2004-04-23 Thread thsudler
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",vari

RE: [R] Tcl/Tk support is not available on this system.

2003-02-11 Thread Marc Schwartz
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Peter Dalgaard BSA >Sent: Tuesday, February 11, 2003 9:03 AM >To: Forbeck, Doug (NIH/NCI) >Cc: [EMAIL PROTECTED] >Subject: Re: [R] Tcl/Tk support is not available on this system. >

Re: [R] Tcl/Tk support is not available on this system.

2003-02-11 Thread John Zhang
rus-Scanned: by amavisd-milter (http://amavis.org/) >X-Virus-Scanned: by amavisd-milter (http://amavis.org/) >X-Spam-Status: No, hits=0.7 required=5.0 tests=EXCHANGE_SERVER,SPAM_PHRASE_00_01 version=2.43 >X-Spam-Level: >Subject: [R] Tcl/Tk support is not available on this system. >

Re: [R] Tcl/Tk support is not available on this system.

2003-02-11 Thread Peter Dalgaard BSA
"Forbeck, Doug (NIH/NCI)" <[EMAIL PROTECTED]> writes: > I am trying to get R to run on a Red Hat 8 system, I am running R version > 1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the > data_sets directory I get the error message; > Error in firstlib(which.lib.loc, package) :

[R] Tcl/Tk support is not available on this system.

2003-02-11 Thread Forbeck, Doug (NIH/NCI)
I am trying to get R to run on a Red Hat 8 system, I am running R version 1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the data_sets directory I get the error message; Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error i

[R] Tcl/Tk and mouse

2003-01-20 Thread Peter Wolf
Within a loop I tried to draw some things in dependency on the position of the mouse. This works fine with R-1.5.1 but R-1.6.1 requires to include some delay by Sys.sleep(delay) with delay>=0.015. For smaller values (e.g. 0.0001) the top level tcltk-window does not appear and so I am not