Displaying 20 results from an estimated 100 matches similar to: "curious mistake in tkradiobutton"
2003 Oct 01
0
curious error with tkcheckbutton
Hello, the following code produces an error when executing it, it is a code
that produces 6 checkbutton that at
the beginning are empty, when selecting the first checkbox he says that
doesn't know the second
variable tcl, he say:
[1] "1"
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class
= "tclObj") :
[tcl] can't
2003 Sep 09
1
charge a vector with variables and to use as variable in a checkbutton?
hello, how i cant to charge in form dynamic a checkbutton, try to do it
with a vector be charged automaticamente but not
works, for example
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
i<-2
if (i==1) {b1<-tkcheckbutton
(f,text="b1",variable="b1",relief="raised");tkpack(b1);print(tclvalue
("b1"))}else if (i==2) {b1<-tkcheckbutton
2011 Jan 11
0
modified FAST Script from package SensoMineR for the R community - Reg
###Dear R users
###I have been using SensoMineR package from CRAN for most of my work in
sensory data analysis and from my usage experience, I encountered some
areas for improvement and considered ###modifying the function in
SensoMineR package for my personal use. I felt that it could be useful to
share this to the community for enabling adoption by other users where
they might require a
2003 Sep 08
1
add checkbutton and the variable(wrong length of vector "b")
Hello it wanted to add a boton of checkup in a menu, ?How I do to create so
many variables as checkbutton? I try with the code that continues, use a
vector that is charged dynamicamente while I open files but the component
of vector "b" is associates with a Tcl variable and load 3 components
(environment, value and pointer) I wanted alone to charge the value (0 done
not select
2003 Sep 12
1
save object interactively
Hello, it wanted to know as I can keep to save a object of R in interactive
form, in which I can put the name of the file in a window of I talk, and
not to have to create it, a badly serious example:
x<-c(1,2,3,4)
> nbre<-"x.Rdata"
> f<-file.choose()
Error in file.choose() : file choice cancelled
> f
Error: Object "f" not found
> file.create(nbre)
[1]
2010 Aug 12
2
accessing tcl variables within R and tcl
Dear R users,
I have some troubles with dealing with tclObj objects. I try to explain
it with a toy example:
Say I define the following tcl procedure which just prints out each list
element
library(tcltk)
.Tcl('proc test {myList} {
foreach i $myList {
puts stdout $i
}
}')
and I call it with:
> tcl('test',letters[1:5]) # Works as expected
Now say I define
2001 Jun 12
1
cophenetic matrix
Hello,
I analyse some free-sorting data so I use hierarchical
clustering.
I want to compare my proximity matrix with the tree
representation to evalute the fitting. (stress, cophenetic correlation
(pearson's correlation)...)
"The cophenetic similarity of two objects a and b is defined as the
similarity level at wich objects a and b become members of the same
cluster during the course of
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the
menubutton?, therefore always remains as a white one, I intend to charge
the direccion of open files in a vector and then to elect with the
menubutton with which to work but not functions thanks.Ruben
library(tcltk)
arch<-tclVar(init=" ")
archOp<-tclVar(init=" ")
vectPath<-c()
2001 Sep 19
2
tcltk: Difficulties creating menus
I am struggling with adding menus to a tcltk application. The following
example (from the O'Reilly book on Perl/Tk) works fine:
#!/usr/bin/perl -w
use Tk;
my $mw = MainWindow->new;
$menub = $mw->Menubutton(-text => "Color")->pack();
foreach (qw/red yellow green blue grey/) {
$menub->radiobutton(-label => $_, -command => \&set_bg,
2020 Oct 09
1
Aide pour finaliser ce code
Hello.
Here is my R code. I used the functional data . Now I need to use the
functional data by applying the kernels instead of the xi, yi functions.
Bonjour.
Voici mon code en R . J'ai utiliser les donn?es fonctionnelles . Maintenant
j'ai besoin d'utiliser les donn?es fonctionnelles en appliquant les noyaux
? la place des fontions xi, yi
library(MASS)
2008 Mar 19
1
Radio Buttons or similars
Hello companions!!!
I have a function that creates a Radio Buttons, and I need that this
function return the selected value in the Radio Buttons. I would like that,
if somebody know as I could return the value, you say me as do it.
Next, I show the function
function1<-function(){
require(tcltk)
tt <- tktoplevel()
rb1 <- tkradiobutton(tt)
rb2 <- tkradiobutton(tt)
rbValue <-
2000 Sep 28
0
No subject
Prasad wrote:
> I wrote a function in R which uses tcltk package .... essentially I wanted
> to give within that function, a widget with 2 radiobuttons to choose
> between plotting Precip and Temperature plots. After the user has chosen
> one of the radiobuttons there is another widget that asking him to identify
> outliers. However, I am having a lot of problems...what R does is
2009 Oct 19
1
Problem with geometry manager in TclTK
Hello, everyone.
I have the following problem with TclTk: I create some windows and want to
change their position with geometry manage (sometimes they will be centered,
sometimes not).
If the toplevel is created and its dimensions are gathered via 'tkwinfo', I
get (usually) correct values. However, if this window is created by a
function (in the following example, by 'ask.format')
2010 Jul 22
1
check menu button (tcltk)
Hi,
I am making a mock user interface in tcltk and I would like to add a 'check menu button' such as shown here: http://zetcode.com/tutorials/pygtktutorial/images/checkmenuitem.png
Does anybody know how to do this? I am quite new to R.
Cheers!!
Albert-Jan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine,
2000 Sep 28
1
tcltk package functionality
Hello,
I wrote a function in R which uses tcltk package .... essentially I wanted
to give within that function, a widget with 2 radiobuttons to choose
between plotting Precip and Temperature plots. After the user has chosen
one of the radiobuttons there is another widget that asking him to identify
outliers. However, I am having a lot of problems...what R does is evaluate
the whole function
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject.
Therefore, I send it again and two tcltk questions are appended.
----------------------------------------------------------------------------
Prasad wrote:
> I wrote a function in R which uses tcltk package .... essentially I wanted
> to give within that function, a widget with 2 radiobuttons to choose
> between plotting Precip
2000 Sep 29
0
Is it R or I?
Salutations:
I have been trying to translate a S-PLUS/ArcInfo (GIS software) application
that I wrote on a SGI (IRIX) platform to public domain R and GrassGIS on
a Linux platform. I am almost on the verge of abandoning it as I find R to
be
rather unstable, slow and frustrating.
I enclose a section of my code for R experts to examine
hoping that they'll point out that all the above three are
2006 Mar 02
0
tcltk error when calling a dialog
Hello;
I've got several radiobuttons in tcltk with the following sintaxis:
tk2.rd <- /tkradiobutton(/frame4,command=plotDialog1,text="New Q plot", value=2, variable=OUTPLOTtclVar/)/
All the buttons call the same function "plotDialog1". With the objective
of call a dialog to select some plotting options.
When I select one of the radiobuttons and the windows with the
2002 Nov 17
2
Problem running Anstoss2 under Wine
Adrian Bunk wrote:
>I'm trying to run Anstoss2 (a five years old German soccer simulation -
>I'm only interested in the strategic part of the game) under Wine. I
>tried the Debian package of the 20021031 Release and a self-compiled
>package of a 20021116 CVS snapshot. The following messages occur during
>the start of the game:
>
><-- snip -->
>
>$ wine