Displaying 20 results from an estimated 1000 matches similar to: "tcltk - text widget with a scrollbar?"
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list
boxes with their individual scrollbars. But instead both scrollbars stick to
the same listbox even though they work as they should (scroll individual
listboxes). When I remove all the widgets on top everything works perfectly.
Any help would be highly apprecciated.
ps: all subsequent listboxes and scrollbars work
2008 Oct 30
3
using yscrollcommand in tkcanvas crashes R (PR#13231)
Full_Name: Sundar Dorai-Raj
Version: 2.8.0
OS: Windows
Submission from: (NULL) (76.220.41.126)
The following code crashes R:
library(tcltk)
tt <- tktoplevel()
tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...))
> sessionInfo()
R version 2.8.0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
2001 Feb 14
2
help with tcltk
Hallo!
Can anyone explain to me how to add a vert. scrollbar to a listbox using tcltk please?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject
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
2007 Feb 14
1
monitor a simulation with a special console box?
I like to monitor simulation by reporting some current values to the
console, every 25th iteration say. I think it might be nice to have
that appear in a separate window. Anyone know how?
regards,
David Farrar
New River Analytic
[[alternative HTML version deleted]]
2003 Jan 15
2
[lattice] lines for stripplot (like dotplot) or jitter for dotplot?
I'd like to use stripplot for some plots because I want to use
the jitter parameter. On the other hand, I'd like to use dotplot
because I'd like to have the horizontal lines that it includes.
dotplot doesn't have a jitter option and I'm not having any
success with getting panel.grid(h=-1) with stripplot. Can anyone
show me how to make dotplot-like lines on a stripplot? Or
2001 Dec 03
6
appending similar data frames?
Dear R gang,
Can anyone help me sort out how to append one data frame to
another while adding a factor to distinguish which was the
original frame?
For example, I have two frames, x and y
> x
exp size
1 a 10
2 b 9
3 c 10
4 d 12
5 e 11
> y
exp size
1 a 13
2 b 15
3 c 12
4 d 20
5 e 15
and I'd like to create a new frame that looks like
2003 Jun 06
4
stuck tcltk scrollbars under Windows XP
Dear R-devel list members,
I've encountered a problem with my Rcmdr package under Windows XP and could
use some advice:
The Rcmdr package uses the tcltk package to create menus and dialog boxes.
My standard procedure when a dialog is created is to grab the focus -- e.g., by
tkfocus(top)
tkgrab(top)
(Here, top is a top-level window -- say, containing one or more
scrollbars.)
2010 Jul 21
1
tcltk resizing when using tkgrid for layout
I've been able to figure out on my own how to do what I need in the
largely undocumented tcltk package, but I've finally hit a wall. I can't
even think of any sufficiently specific search terms to use for this.
I'm trying to make the widgets in my tk window resize when the window is
resized by clicking and dragging on its corners or edges. Instead they
stay exactly where they
2004 May 20
1
R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names
Dear R-gang,
I have a question about handling underscores in names in R 1.8.1
and 1.9.0. I recently installed 1.9.0 on a machine and found
that many codes no longer work as a result of the changed
behavior in make.names.
I have numerous data files that have dashes, periods and
underscores in the header row. I've got numerous R codes that
read those files with read.table and read.csv and
2012 Nov 20
1
tcl/tk problem with tklistbox,the " " character and Rcmdr.
I everyone,
i have a little problem with tklistbox,the " " character and Rcmdr.
Please look at this code
require(tcltk)
tt<-tktoplevel()
levels.list2 <-tklistbox(tt,selectmode="multiple",exportselection="FALSE",
height=4, yscrollcommand=function(...)tkset(levels.list2.scroll,...))
2008 Nov 03
1
possible tcltk event loop problem
Dear list members,
Rich Heiberger reported to me last week that the Messages window in the
Rcmdr GUI was freezing -- that is, messages posted to this window didn't
appear -- under Windows and R 2.8.0. I was able to confirm this problem on
three Windows systems, one using Vista and the other two XP. In each case, I
used R 2.8.0 and Rcmdr 1.4-4 (the current version). The problem doesn't
2003 Mar 06
2
question about model formula
Dear R Gang,
I'm interested in using R and the nls package for fitting kinetic
models. I'm having some difficulty getting a model specified for
nls though. The math for the model that I want to fit is
dg(t)/dt = K1 f(t) - k2 g(t)
where g(t) and f(t) are measured data at a sequence of times t.
K1 and k2 are the parameters of the model. If I solve this, the
solution is
g(t) = K1
2002 Sep 10
3
capturing the result of print in a variable?
I'd like to capture the results of a print() command so that I
can put the results in a tktext widget. I know I can redirect
the output to a file with sink. I'm looking for something like
that, but where I can redirect the output into a variable. Is
there a way to do that?
Mike
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data
is in a data from that includes Year, Month and Day (of month)
fields, so I created a Date with ISOdate(Year, Month, Day,
tz=''). I can plot frequencies for the year 2002 with
> thisyear <- Date[Year==2002]
> hist( thisyear, xaxt='n' )
> axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2001 Jul 30
2
functions, `...' and .Rprofile
I'm experiencing some confusion with the ellipsis argument
(...).
In my .Rprofile, I have the following functions:
stderr <- function(x, ...) {
sqrt( var(x, ...) / length(x) )
}
se <- stderr
I can use tapply to calculate some means:
> tapply( Diameter, factor(Region), mean, na.rm=TRUE )
I II III IV V
0.02896429
2002 Jun 27
1
lattice and dates (correcting e-mail formatting glitch - sorry!!)
Hi
I'm fairly new to R and the list, so please take
what I say accordingly!
Far as I can see, strptime gives you a string in some
specified format. In order to do any kind of
numerically-based modelling with that, you need to
obtain a number to work with. One way to do this is by
getting the time with Sys.time() instead and coercing
it to a number using as.integer():
>
2009 Aug 24
1
Copy & Paste from tktext on Mac
Hi there,
a text Window is supposed to map the shortcuts for copying and pasting
(<Ctrl-C>, <Ctrl-V>) automatically.
I'm working under Mac OS X and my text window doesn't really map these
functions automatically - it works fine under Windows. Is there an
easy way to map copy&paste functions to a text window under Mac OS X?
This is what I'm doing with my text
2003 Dec 31
2
Plot grouped data: How to change x-axis? (nlme)
Hallo!
GENERAL QUESTION:
I'm trying to change the tick marks of the x-axis in a
grouped data plot (nlme).
CONCRETE EXAMPLE:
In the example (see below) I want the x-axis to have
tick marks at 0, 6, 12, 18, 24. How can I do this?
WHAT I TRIED
I tried "normal" methods like axis(...) but this does
not work with this plot. And I also tried xlim=c(0,24)
but the ticks are unchanged and
2001 Jul 12
1
Should gv be able to read bitmap(... type= "pdfwrite") ?
Hi there folks
I have R 1.3.0 running on Red Hat Linux 7.1 with GhostView 3.5.8. When
I produce a file like:
> bitmap("foo.pdf", type="pdfwrite")
> plot(foo)
> dev.off()
and then try to read it with gv, I get an unrecoverable error and
nothing displayed.
Any help as to whether this ***should*** work would be appreciated.
cheers,
John
--
John Williams