Displaying 20 results from an estimated 100 matches similar to: "Buggy trellis.focus() with xyplot ?"
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
Hi:
(Tried to find a bug report about this issue, but was unable to find it, let
me know if this is a known issue)
I have been working on an interface to highlight xyplot panels on mouse
overs in JavaGD but I have stumbled with what seems to be a bug in
trellis.focus.
I am using JGR R 2.8 with lattice 0.17-15
Note: It's important to you use JGR to use the Java Graphics Device.
*** To
2007 Aug 22
2
gWidgets (tcltk): problem extracting values from widgets in glayout grid
Hello,
I haven't been able to find an example for the second case below -- or
perhaps I didn't recognize it when I saw it.
Is there a value for x such that svalue(x) will return "bbb", either by
itself or as part of an array? Or do I need to do something else
entirely?
(R2.5.1; Windows XP)
> #### gWidgets test
> options("guiToolkit"="tcltk")
>
2012 Nov 30
1
How to add widgets of gWidgets to widgets of rgtk2 ???
I have a layout in gwidgets. To this, I wanted to add a Textbox(gtkEntry)
created from rgtk2...
The code is as follows:
MainLayOut <- glayout(homogeneous = FALSE, spacing = 10, container =
SubGroup)
MainLayOut[1, 1, anchor=left] <- "Number of Total Patients: "
font(MainLayOut[1, 1, anchor=left]) <- c(weight="bold")
patients <- gtkEntry()
2009 Jun 26
1
gradient fill of a grid.polygon
Dear list,
Following a recent enquiry, I've been playing with the idea of creating a
colour gradient for a polygon, using the Grid package. The idea is to draw a
number of stripes of different colours, using the grid.clip function. Below
is my current attempt at this,
library(grid)
rotate.polygon <- function(g, angle=0){ # utility function, works fine
matR <- matrix(c(cos(angle),
2009 Mar 21
1
Forestplot () box size question
Hi All,
I have been able to modify the x-axis to start at zero by adding xlow
and xhigh parameters; that was pretty simple. I have been unable to
find the location of the code that would turn off the information
weighting of the box size (I have smaller randomized trials getting
less weight than a much larger non-randomized trial). The function
is forestplot() from rmeta.
Thanks for any
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
I run into some problems when trying to convert units using Hershey-Fonts: R chrashes.
> library(grid)
> label <- "some text"
> pushViewport(viewport(gp=gpar(fontfamily="HersheySerif")))
> convertHeight(stringHeight(label), unitTo="mm")
*** caught segfault ***
address 0xadc838f8, cause 'memory not mapped'
Traceback:
1:
2013 Apr 23
1
Automation of R input
Hi all,
I have R script which during its run require an input like this:
choose between one of the grouping factor available :
c("Village", "Country")
can I automate this part, in other word to pass for example Village when I
am running the script.
One more thing the script is the TimeSeriesAnalysis {ndvits}.
Thanks in advance for any help or suggestion.
Regards,
Vahe
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 (
2009 Sep 24
1
unexpected behavior of `[<-` method for class unit.arithmetic
Dear list,
Consider the following,
library(grid)
w = unit.c(unit(1, "in"), unit(2, "in"))
w2 = w + unit(1, "mm")
w[2] <- 0
w2[2] <- 0
convertUnit(w, "mm")
#[1] 25.4mm 0mm
convertUnit(w2, "mm")
#Error in grid.Call("L_convert", x, as.integer(whatfrom),
as.integer(whatto), :
# INTEGER() can only be applied to a
2011 Mar 04
2
Creating a .png with just an expression() in it
Hey,
I'm trying to create an image file with the results of a regression
analysis. In TeX, the line would be something like:
$ size = 0.34 + 4.3 var_1 $
Can I create a plot window with just this line in it? I tried playing
around with plot.new() or dev.new(), but didn't really find something
that worked.
Thanks in advance,
Alex
--
alexx at alexx-fett:~$ vi .emacs
2004 Jun 28
1
text length in grid
Hello! I first would like to compliment the authors of grid on what has been
a wonderfully useful package for me. Now, my question: Is there any way I
can specify the size of some grid.text using grid units?
I must label the regions of a plot. The regions can be either very small or
very large, so I would like to label each by fitting its text to the size of
the region in question. Ideally, I
2008 Oct 17
1
Using key.opts in Ecdf/labcurve (Hmisc package)
I'm presumably missing something very obvious, but how does one use the
key.opts argument in labcurve (via Ecdf)?
In this example, I want the key to be big and have a blue background, but
it isn't and doesn't.
ch <- rnorm(1000, 200, 40)
sex <- factor(sample(c('female','male'), 1000, TRUE))
Ecdf(~ch, group=sex, label.curves=list(keys=c("f",
2012 Sep 09
4
[Bug 54681] New: Connecting TV to second DVI port of 9600GT card causes GPU lockup and Xorg crash
https://bugs.freedesktop.org/show_bug.cgi?id=54681
Bug #: 54681
Summary: Connecting TV to second DVI port of 9600GT card causes
GPU lockup and Xorg crash
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity:
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all,
I'm trying to get a series of lattice levelplots to appear in
viewports in a particular way but struggling to exert fine control
over their appearence. There are two conditions: (a) I only want the
levelplot to appear (I don't want axes, colour key, etc) in the
viewport and (b) I want the levelplot to expand to the maximum
allowable space in the viewport while observing
2007 May 12
7
[Bug 10927] New: segmentation fault in NVUploadToScreen, called from exaPutImage
http://bugs.freedesktop.org/show_bug.cgi?id=10927
Summary: segmentation fault in NVUploadToScreen, called from
exaPutImage
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2008 Oct 23
1
Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas
Hi:
I would like to find out the panel of a xyplot matrix where a mouse clicked.
I know this functionality is already bundled in trellis.focus but I can't
use it because I am coding a stand alone application in Java using with
GDCanvas as a graphics device.
I tried calling trellis.focus from Java with:
re.eval("t = trellis.focus()"));
However it did not work for an embedded
2012 Apr 19
4
Column(row)wise minimum and maximum
Hi,
Currently, the "base" has colSums, colMeans. It seems that it would be useful to extend this to also include colMin, colMax (of course, rowMin and rowMax, as well) in order to facilitate faster computations for large vectors (compared to using apply). Has this been considered before? Please forgive me if this has already been discussed before.
Thanks,
Ravi
Ravi Varadhan, Ph.D.
2007 Oct 25
1
Strange behavior with time-series x-axis
I recently called plot(x,y) where x was an array of POSIXct timestamps,
and was pleasantly surprised that it produced a nice plot right out of
the box:
z <- as.POSIXct(c("2006-10-26 08:00:00 EDT","2007-10-25 12:00:00 EDT"))
x <- seq(z[1],z[2],len=100)
y <- 1:100
plot(x,y,type="l")
The X axis had nice labels, one tick mark every other month. (Plotting
on
2005 Mar 11
2
Creating Custom System Policy Templates
Has anyone looked into creating custom templates for Microsoft's System
Policy editor ? I like the idea of managing workstations through the
NTConfig.POL file, but the included templates are quite a bit outdated.
Does anyone know if it would be worth-while to take the time and create an
updated Template to add policies to manage newer features of Windows
2000/XP through the NTConfig.POL
2002 Feb 26
0
few idea about dealing with "Large Roaming Profiles"
Well,
I put it here. All the experience gained in about-half-an-year-management
of Samba-PDC + numerous NT4 workstations is included. Also, I'd be glad to
hear from you what did I miss!
1) when NT4-workstations are organised into "domain", there's some
action assosiated to this: "to log into domain".
samba ain such case acts as PDC (primary domain controller),