Displaying 20 results from an estimated 600 matches similar to: "Building tkentry dynamicly"
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 ...
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 <-
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",
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
2006 Jan 11
1
Homogenic groups generation - Randomisation
Dear R-users,
We expect to create N homogenic groups of n features from an
experimentation including N*n mesures. The aim of this is to prevent from
group effects. How to do that with R functionalities. Does anyone know any
methodes enabling this ?
Best regards.
Alexandre MENICACCI
Bioinformatics - FOURNIER PHARMA
50, rue de Dijon - 21121 Daix - FRANCE
a.menicacci at fr.fournierpharma.com
t??l
2006 Jan 16
1
Homogenous groups building - Randomisation
Dear R-users,
We expect to form N homogeneous groups of n features from an
experimentation including N*n data.
The aim is to prevent group effects.
How to do that with R functionalitites ? Does anyone know any way enabling
this ?
Example :
100 patients are observed. 3 biochemical parameters are mesured for each
one (Red and white globules ans glycemia).
Patient RG RW
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 (
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))
2005 Dec 02
1
Ancova and lme use
Dear R-users,
We expect to develop statistic procedures and environnement for the
computational analysis of our experimental datas. To provide a proof of
concept, we plan to implement a test for a given experiment.
Its design split data into 10 groups (including a control one) with 2
mesures for each (ref at t0 and response at t1). We aim to compare each
group response with control response
2005 Nov 25
1
covariance analysis by using R
Hi,
Is anyone has solved MR Xin Meng problem (see below) ?
We have the same analysis configuration : 10 groups (including control one)
with 2 mesures for each (ref at t0 and response at t1).
We expect to compare each group response with control response (group 1)
using a multiple comparison procedure (Dunnett test).
In order to perform this test, we have to normalize our data (as you) to
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
Actually I am trying to run sciview-R and encounted some problems with
tk, and I thought I'll check the basic library(tcltk) functionallity,
just to be sure. Anybody seen that '[tcl] bad window path name ".1".'
message before?
Prof. Philippe Grosjean: yes, I have managed to load most of
sciview-R under Wine, except the tcltk library!
===================
R : Copyright 2005,
2006 Mar 08
0
survival
Dear R-helpers,
We marked 6000 leaves from 5 SPECIES - 10 individuals/species - in two
different TREATMENTs: a control and a dry-plot from which 50% of
incoming precipitation was excluded. We followed those leaves for 42
months and noted the presence and absence at each visit. I then carried
out a Cox Harzard model to see differences in leaf mortality between
parcels and among species over time:
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
>
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would
2009 Jun 12
1
Masked user input
Hi -
I'm creating a package of database tools. A function in the package
requires the username and password as input to the function in order to
initially connect to the target database(s). Of course, this poses a
significant security issue given the possible retention of the function
statement in cleartext. I did not readily encounter a package meant to mask
input from the user nor do I
2007 Jan 01
0
autofill for a tkentry field
Hello all,
I'm experimenting with tlk/tk and I find it very useful. I would like to
have the text of a tkentry be automatically filled when the user starts
typing, according to a predetermined list. I've found a solution on the
tcl wiki pages, but I don't quite know how to translate it in R... Here is
the tcl code: http://wiki.tcl.tk/13267
And here is my code that does not work.
2007 Aug 14
2
Question about unicode characters in tcltk
hello list,
Can someone help me figure out why the following code doesn't work?
I'm trying to but both Greek letters and subscripts into a tcltk menu.
The code creates all the mu's, and the 1 and 2 subscripts, but it
won't create the 0. Is there a certain set of characters that R won't
recognize the unicode for? Or am I input the \u2080 incorrectly?
library(tcltk)
m
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)
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