Displaying 20 results from an estimated 400 matches similar to: "autofill for a tkentry field"
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",
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 <-
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
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) {
2005 Nov 18
0
Problems with tkentry
Hello to all,
I don't know almost nothing about Tcl/TK. I have the follow code:
>Name <- tclVar("")
>insert.Name <-tkentry(window1,width="20",objectvariable=Name)
>tkplace(tklabel(window1,text=" Enter the matrix name:"),x=0,y=0)
>tkplace(insert.Name,x=175,y=0)
So, I need to pass the variable Name like parameter in R function.
Ex:
2008 Aug 21
0
kickstart error on 5.2 exception
Hi,
I am trying to get my kickstart file that worked under 5.1 to work under 5.2 centos x86_64.
This is the error that I get.
On the screen it says Exception occured and gives me the option to save it. This is that file.
I dont see any odd that would cause it to crash.
Can anyone help. My kickstart file is in the mix below.
Seems to be related to network, my line seems fine (I think) for
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
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,
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 (
2006 May 22
0
[OT] form design best practices for autofill?
This is off-topic from Rails though what I learn from any responses
will be used in a Rails app.
My app has a sign-up facility where I request a user''s first name,
last name, address, etc. Are there any best practices for naming the
field elements so the autofill functions in Firefox, Explorer, Safari
and others can pick up the names and autofill the form?
Thanks for any tips or
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))
2010 Aug 11
1
OpenOffice.org 3.1.1 Calc autofill does not work
Hi all,
Has anyone upgraded OpenOffice.org 3.1.1 on Centos 5.3?
Everything seemed fine but I have found 1 problem on Calc. The autofill
does not work. Example, when I type "Jan" in cell A5 and drag the handle
to cell D5, the Fill Settings dialog box pops up instead of the Feb,
Mar, Apr filling in the cell automatically.
When OpenOffice.org 3.1.1 from Sun is installed, it works.
2006 Oct 23
1
R tcl/tk
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 resides where it should in the toplevel frame.
tkgrid(tklabel(frame.2, text="FACTOR column
2012 Nov 08
1
Package "glmulti": Include a variable in ALL models
Dear all,
I have a question about the glmulti package. I want to include some variables in all models. To that end I applied the wrapper function as shown in the examples (http://www.inside-r.org/packages/cran/glmulti/docs/glmulti).
To include the variable "Geslacht" in all models:
> glm.redefined = function(formula, data, always="", ...)
2011 May 09
1
Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
# HG changeset patch
# User Ian Campbell <ian.campbell at citrix.com>
# Date 1304937815 -3600
# Node ID 35abcbcdf8bcabab6e0bbd929f69b613e167edfd
# Parent 4b0692880dfa557d4e1537c7a58c412c1286a416
xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
gcc 4.6 complains:
io_apic.c: In function 'restore_IO_APIC_setup':
2011 May 09
1
Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
# HG changeset patch
# User Ian Campbell <ian.campbell at citrix.com>
# Date 1304937815 -3600
# Node ID 35abcbcdf8bcabab6e0bbd929f69b613e167edfd
# Parent 4b0692880dfa557d4e1537c7a58c412c1286a416
xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
gcc 4.6 complains:
io_apic.c: In function 'restore_IO_APIC_setup':
2007 Apr 18
2
refactoring io_apic.c
OK, I need to do something like this to io_apic.c - split the hardware
specific parts out under mach-default, so we can override them for other
subarchitectures. It's not finished, needs header file and makefile
work. Would you be willing to take this if I do it? I'm not going to
bother if you're not, such refactorings are a pig to maintain out of
tree.
Frankly, io_apic.c needs a
2007 Apr 18
2
refactoring io_apic.c
OK, I need to do something like this to io_apic.c - split the hardware
specific parts out under mach-default, so we can override them for other
subarchitectures. It's not finished, needs header file and makefile
work. Would you be willing to take this if I do it? I'm not going to
bother if you're not, such refactorings are a pig to maintain out of
tree.
Frankly, io_apic.c needs a
2005 Apr 01
0
Selections from tcltk list boxes
Dear r-devel list members,
I've experienced the following problem in getting a selection from a Tk list
box using tcltk. This is a long-standing problem, but I've finally decided
to tackle it.
Consider the following:
Library(tcltk)
top <- tktoplevel()
listbox <- tklistbox(top, height="10", width="2", exportselection="FALSE",