similar to: tk problem with R 2.2.0 on wine/linux

Displaying 20 results from an estimated 1000 matches similar to: "tk problem with R 2.2.0 on wine/linux"

2001 Oct 06
1
tcltk
HI, (1) ...thanks for the last comments to tcltk & Win2000. (2) - i'm newbie in tcl/tk but would like learn fast and develop (learning by doing) a tcl/tk clusterAnalysis application which combine some clusterMethods from different Rpackages. i use the tkttest.R example as "reference" and become not finished for my "first" step???? (3) how is it possible that the code
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
Hello, I?m using R 2.11.1 with Tinn-R 1.17.2.4. I hope the given informations are enough (it?s my first entry here) The as.environment(pos) error appears in using the following code which should open a function in an other R-file. Here some extractions of the code: .... HZ<-tclVar(seq(length=a,from=1,by=0)) #(a is defined by a tkentry-element) VZ<-tclVar(seq(length=a,from=1,by=0))
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
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 (
2008 Oct 27
1
ttkcombobox
Hi, all, (sessionInfo at the end) I've been struggling with the tcltk package and can't seem to get the ttkcombobox to work. Here's an example: library(tcltk) p <- tktoplevel() l <- tclVar() ## I don't know if I'm even calling it correctly cb <- ttkcombobox(p, values = letters[1:4], textvariable = l) tkpack(cb) 1. How do I know when the value of the combobox has
2006 Mar 07
2
Building tkentry dynamicly
Dear R-users, I would like to build N "tkentry" compounds in the same window, with default text for each. As N is variable I need to construct them in an iterative way : library(tcltk) main<-tktoplevel() tktitle(main)<-"My Tool" filenames<-c("toto","tata","titi") N<-length(filenames) for (i in 1: N) {
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 <-
2008 Aug 11
3
tkentry that exits after RETURN?
I can set up an entry widget (thanks to an old post by Barry Rowlingson) that gets a password and exits when the user clicks on the "OK" button. Anyone have any clever ideas for returning/ destroying the window when the user types a carriage return/ENTER in the text window? I've messed around a little with validate, validatecommand, but don't see any obvious way to do it ...
2008 Mar 31
2
tkconfigure throws an error
Thanks everybody for looking at this. I am trying to assign a script to a button please help: ############ library(tcltk) tt<- tktoplevel() tktitle(tt)<-"the title" heading<-tklabel(tt,text="Enter date as YYYY-MM-DD") l1<-tklabel(tt,text="Reporting date") b1=tkbutton(tt,text="Run") d.val<-tkentry(tt,width=12) tkgrid(heading,columnspan=2)
2000 Jul 19
1
How to use tcltk?
Hallo Tk experts, the Tcl/Tk package allows to define very nice widgets for starting R functions, for printing results and for interactive parameter input. tkdensity.R and tkttest.R demonstrate this and both demos explain how some of the tk functions can be used. For constructing new widgets I would like to see further examples showing Tcl/Tk package in action. Therefore my question: Is there a
2002 Feb 11
0
read.table in TCL/TK interface
hello, i would like program userfriendly tcl/tk widgets like the t-test example in a more complex way ! (1) Is it not possible to combine tk_getOpenFile with the R function read.table to select in userfriendly way data sets ? (I'm newbie and take code-parts from t-test example and scripting example.) (2) Is it possible to use a variableSelection widget to select a special variable which i
2012 May 24
3
set tkscale by tkentry
Hi, I am working under Windows and I am using R2.11 I want to use tkscale in my GUI. As the interval is quite big, I can't set the scale to a certain specific value. Therefore I want to add tkentry to allow the user to set tkscale to a certain value. Here is the code library(tcltk) tt<-tktoplevel() tkpack(m1<-tkscale(tt,from=306870.00, to=3026741, label="alpha",
2007 Oct 09
1
misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?
I don't know whether this is specific to (my installation of) SUSE 10.1, or is more general. With R 2.6.0, I am finding that some widgets made through the tcltk package are having problems which become evident through scrollbar activity. An example is demo(tkfaq) -- see below. To reproduce the problem, I do the following: after the tk window appears, hold down the
2010 Aug 11
0
R and TK Error "can't find objects"
Dear R People, I?m trying to link R and TK. I?m using R 2.11.1 with Tinn-R 1.17.2.4. For simple examples like the following one it?s working (see the initiation of the variables, the handler and the link to the function which multiply Zahl, Exponent and Factor) : require(tcltk) Ergebnis<-tclVar(c(0,0,0,0,0,0)) Zahl<-tclVar(c(0,0,1,1,1,0)) Exponent<-tclVar(c(1,1,1,1,1,1))
2002 Jul 06
1
R: one-sample binomial test
try ?power.prop.test > -----Messaggio originale----- > Da: Tim Wilson [mailto:wilson at visi.com] > Inviato: sabato 6 luglio 2002 6.05 > A: R-help > Oggetto: [R] one-sample binomial test > > > Hi everyone, > > Here's how I solved a problem for my stats class. I'm pretty sure I > understand what's going on, but I wonder if there's a more >
2000 Aug 09
2
tcltk_example
Hello R and tcltk users... I'm running into difficulties applying the tkmenubutton() and tklistbox() functions, found in the tcltk package, to a simple gui. My search for R code which utilizes these two functions has come up empty. Currently, I am attempting to translate pure "Tcl/Tk" code to R with little to no success. So far, the most helpful tool for learning the tcltk R
2002 Mar 06
3
Loading tcltk package fails on WinMe/Cygwin but works with Rgui
I am investigating how well R/tcltk is supported on different system and I ran into the same problem as Christian Schulz reported on February 7, 2002. I am using [R] v1.4.1 on WinMe and ActiveTcl 8.3.2. Loading tcltk within Rgui works just fine and both demo(tkdensity) and demo(tkttest) works as expected. However, when I start R from my Cygwin terminal dyn.load() fails to load the library: % R
2008 Oct 30
1
tklistbox selection
Hi, I'm posting yet another question about tcltk since I'm still struggling with the package. I'm trying to create a tklistbox and a ttkcombobox on the same parent and am having a problem. Here's an example: library(tcltk) tt <- tktoplevel() tcl1 <- tclVar() tcl2 <- tclVar() tclObj(tcl1) <- letters[1:5] tclObj(tcl2) <- LETTERS[1] tb1 <- tklistbox(tt,
2001 Feb 09
1
demo(tkttest) exits with error messages
I've just installed tcl version 8.3 for windows for use with rw1021, running on win95 (4.00.950). demo(tkttest) gives the following error messages. > require(tcltk) || stop("tcltk support is absent") Loading required package: tcltk Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in eval.with.vis(expr, envir, enclos) : tcltk support is