similar to: color with tcl/tk?

Displaying 20 results from an estimated 10000 matches similar to: "color with tcl/tk?"

2008 Jul 18
0
Retrieving data from a tcl /tk function
Hello, I am sorry if this is an answered question, but I did my homework for a long while and couldn't figure out a way to retrieve data entry from a model dialog. In one of the examples compiled by James Wettenhall: odalDialog <- function(title, question, entryInit, entryWidth = 20, returnValOnCancel = "ID_CANCEL") { dlg <- tktoplevel() tkwm.deiconify(dlg)
2006 Aug 02
2
tcl/tk bind destroy event
Hello! I want to create a messagebox whenever the user wants to destroy the window (e.g. <Alt-F4> 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 press cancel the window will be destroyed although. I also
2012 Feb 24
1
tcl tk command function with arguments ??
Hello, I am using R 2.11.1 under Windows XP. I would like to know if its possible to use a function with arguments as a command in tcl tk. For example require(tcltk) PressedOK <- function() { tkmessageBox(message="You pressed OK!") } tt <- tktoplevel() OK.but <- tkbutton(tt,text="OK",command=PressedOK) tkgrid(OK.but) tkfocus(tt) the function PressedOK has no
2009 Apr 14
0
disappearing dialog boxes when using tcltk
Dear all, I'm trying to use tcltk to build a small user-interface and couter the problem: It seems that sometimes the dialog box will be minimized automatically though I want it to be on top of the screen all the time. For example, when runing the following code, if you type in "a1", "a2", "a3", etc when being asked for an integer, the program is supposed to
2010 Jan 16
0
'tcltk' crashes related to event-loops (PR#14187)
--0016e6d464cff5d753047d482362 Content-Type: text/plain; charset=UTF-8 I am experiencing some regular crashes on Debian Linux, 32- and 64-bit, involving 'tcltk' and 'cairoDevice' or 'RGtk2'. They make it very difficult to use tcltk interfaces (Rcmdr) and GTK+ ones (rattle, playwith, etc.) in the same R session. NOTE: Before you continue, please read NOTE2 located towards
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello, I have the TCl/Tk command "tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R script. Now I want to perform some operation in relation to the user's choice, something like "if (okpressed) xxx else yyy" What values does this command give and how are they used? Thank you, Richard -- Richard M?ller -
2006 Feb 23
1
tcl/tk - Install problem using MacOS X / X11
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 display name and no $DISPLAY environment variable Error: .onLoad failed in 'loadNamespace' for
2001 Oct 04
1
tcl/tk & Windows2000?
Hello, i have some problems to run tcltk/R on with Win2000. With Win98 i have no problems !? When i do this in R, i get no message-error & tcl/tk is really here ! Sys.putenv("TCL_LIBRARY"="C:/tcl/lib/tcl83") ,but after i use : library(tcltk) ,i get : Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2005 Apr 27
1
tcl/tk problem
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 Loading required package: MASS Loading required package: tcltk Error in dyn.load(x,
2008 Dec 02
1
Problem with tcl/tk and Rcmdr - urgent help required
Hello everyone, i have been searching the whole day, trying ANY solution offered by the internet and before headbanging against the wall would like to try asking for your help. As many others, i am haveing problems loading the Rcmdr package with Macbook running Tiger 10.4.11. X11 version updated to the last one after having manually installed. I have also installed (obviously) the Rcmdr package
2008 Mar 06
1
Tcl/Tk not working on Mac OS X
Greetings. Yesterday I decided to try out Rcmdr, but it refused to load. I traced the problem to the library tcltk, which when I tried to load it told me this: > > library(tcltk) > Loading Tcl/Tk interface ... Error in fun(...) : > Can't find a usable init.tcl in the following directories: > @TCL_IN_FRAMEWORK@ @TCL_IN_FRAMEWORK@ > > > > This probably
1999 Jun 30
1
New packages (tcl/tk <-> R glue + Visual Tcl)
[Reposted by R-announce-owner because of R-announce protection. Guido is subscribed under a different E-mail..] I have made available in the 'Contributed R code | Devel' section of CRAN (in this moment only at Wien) two new packages: 'tcltk': this package let to create and use tcl/tk interpreters from R. The tcl interpreters have an additional command
1999 Jun 30
1
New packages (tcl/tk <-> R glue + Visual Tcl)
[Reposted by R-announce-owner because of R-announce protection. Guido is subscribed under a different E-mail..] I have made available in the 'Contributed R code | Devel' section of CRAN (in this moment only at Wien) two new packages: 'tcltk': this package let to create and use tcl/tk interpreters from R. The tcl interpreters have an additional command
2006 Feb 23
1
tcl/tk - Problem unter MacOS X / X11
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 Tcl/Tk interface ... Error in fun(...) : no display name and no $DISPLAY environment variable
2007 Sep 07
1
tcl/tk help
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 'tcltk' Is there an explanation to this problem? Thank you
2006 Jun 26
0
Tcl/Tk failing in JGR, but not in R for Mac OS X GUI
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" "grDevices" "utils"
2009 Nov 02
2
R292 and tcl/tk
BACKGROUND R2.9.2 built on power5 aix5.3 using gcc 4.2.4 (also installed: tcl and tk 8.5.7) Access from a Windows XP machine using Exceed v9.0, aixterm (DISPLAY etc. setup) export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -L/opt/freeware/64/lib -L/usr/X11R6/lib -L/opt/freeware/lib" export CPPFLAGS="-I/opt/freeware/include -I/usr/lpp/X11/include/X11"
2008 May 04
1
Change in the Tcl/Tk loading in R 2.7.0 (under Unix/Mac OS X)?
Hello, Up to R 2.6.2, I used to start Tcl *without Tk* (I need only Tcl for some part of my work, like a socket server written in Tcl only, for instance) with this code under Mac OS X (particularly on this system, because I don't want to start X11 just to use Tcl code, which is required for Tk!): > Sys.unsetenv("DISPLAY") > library(tcltk) I got then the message
2003 Jan 20
0
Tcl/Tk and mouse
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 able to control the elements to be plotted using the tcltk-widget. Question1: How can I force
2010 Jul 28
1
Odd crash with tcl/tk
Hi, Recently, I've been trying to use packages in R that require loading the Tcl/Tk interface. However, I get a strange result and a crash that I haven't been able to find discussion about on these boards (or any others). When I enter library(tcltk), it reads "Loading Tcl/Tk interface ... ", but then never says "done" or displays some sort of error message. Looks