Displaying 20 results from an estimated 1000 matches similar to: "R: one-sample binomial test"
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 (
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
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 <-
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) {
2006 May 22
1
rerender tcltk toplevel
Hi everybody,
I am trying to write a simple progress display based on a tcltk
toplevel. My first approach was to use the progressBar widget from the
BWidget library but since this is not available on every system (missing
on at least almost all windows systems, I guess...) I wanted to have a
backup there. So my second strategy was to use a simple toplevel with a
label and update the tclvariable
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
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 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 <-
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
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')
2006 Jul 29
1
fancier plotting
Hi
thank you for talking the time to help me with this.
I have a sequence of numbers in a file and an equal sequence of various character, say(a b c d) each occurs more than once. I need to plot the numbers so that numbers corresponding to a in the other sequence would have green dots, those corresponding to b a red dot, nothing on c and blue square for d. i.e
2 a show a green dot
4 b show a
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
2010 Jun 11
1
Windows, OSX and Linux: updating a graphic device and double buffering
Hello there,
I'm struggling with the base graphics system on different
operating systems.
I would like to get an animation effect by re-plotting with the plot
function. See the attached code example: move the slider
quick from one side to the other.
I experience different levels of success, depending on which OS I use.
- Linux (Ubuntu >9.10, R 2.9.2-3): Each plot command gets
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
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))
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)
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,