Displaying 17 results from an estimated 17 matches for "valueonly".
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
...than the initial size.
*** To Fix the bug:
I tried to fix this bug in interraction.R but I was unsuccesful.
The problem should stem from the a bad calculation of the pads in the
follwoing lines :
leftPad <-
convertX(sum(glayout$page.layout$widths[1:(colRange[1]-1)]), "npc",
valueOnly = TRUE)
rightPad <-
convertX(sum(glayout$page.layout$widths[(colRange[2]+1):layCols]), "npc",
valueOnly = TRUE)
topPad <-
convertY(sum(glayout$page.layout$heights[1:(rowRange[1]-1)]), "npc",
valueOnly = TRUE)
botPad <-
convertY(sum(glayout$page.l...
2009 Mar 21
1
Forestplot () box size question
...stop("`grid' package not found")
require("rmeta") || stop("`rmeta' package not found")
drawNormalCI <- function(LL, OR, UL, size)
{
size = 0.75 * size
clipupper <- convertX(unit(UL, "native"), "npc", valueOnly = TRUE) > 1
cliplower <- convertX(unit(LL, "native"), "npc", valueOnly = TRUE) < 0
box <- convertX(unit(OR, "native"), "npc", valueOnly = TRUE)
clipbox <- box < 0 || box > 1
if (clipupper || cliplower)...
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
...#39;memory not mapped'
Traceback:
1: .Call(fnname, ..., PACKAGE = "grid")
2: grid.Call("L_convert", x, as.integer(whatfrom), as.integer(whatto), valid.units(unitTo))
3: convertUnit(x, unitTo, "y", "dimension", "y", "dimension", valueOnly = valueOnly)
4: convertHeight(stringHeight(label), unitTo = "mm")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
System: MacOS 10.6.4
R version 2.13.2 (2011-09-30)
Platform: i386-apple-darwin9.8.0/...
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
...(
layout.widths=list(left.padding=0, right.padding=0),
layout.heights=list(top.padding=0, bottom.padding=0))
)
I traced the a bad calculation of the pads in the following lines :
leftPad <- convertX(sum(glayout$page.layout$widths[1:(colRange[1]-1)]),
"npc", valueOnly = TRUE)
rightPad <-
convertX(sum(glayout$page.layout$widths[(colRange[2]+1):layCols]), "npc",
valueOnly = TRUE)
topPad <-
convertY(sum(glayout$page.layout$heights[1:(rowRange[1]-1)]), "npc",
valueOnly = TRUE)
botPad <-
convertY(sum(glayout$page.l...
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),
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",
2009 Sep 24
1
unexpected behavior of `[<-` method for class unit.arithmetic
...;t think of a
good way to modify one element of a list of unit elements.
As a workaround, I can only think of the following hack where the
objects are forced to be evaluated,
w = unit.c(unit(1, "in"), unit(2, "in"))
w2 = convertUnit(w + unit(1, "mm"), "mm", valueOnly=TRUE)
w2[2] <- 0
w2 <- unit(w2, "mm")
but it clearly isn't a very desirable route.
What is the recommended way to modify one element of a unit vector?
Digging in grid/R/unit.R , I found the following comment,
# Write "[<-.unit" methods too ??
which probably exp...
2009 Jun 26
1
gradient fill of a grid.polygon
...s=colorRampPalette(c("#E41A1C", "#377EB8", "#4DAF4A", "#984EA3"))(n),
alpha=0.5,
stripe=FALSE, angle=0){
vp = viewport(angle = angle)
g = rotate.polygon(g, - angle)
gx <- grobWidth(g)
gy <- grobHeight(g)
dx <- unit(convertX(gx, "npc", valueOnly = TRUE)/(n-1), "npc") # width of
the stripes
startx <- min(g$x)
starty <- min(g$y)
for(ii in seq(1, n)){
grid.clip(x= startx + (ii-1) * dx , y=starty,
width= 1.0*dx, # fudge factor of 1.2 seems needed to overlap well
height=gy,
just="bottom&...
2005 Nov 28
2
NT clients syncronyzing in a Samba PDC Domain
Hi,
Plz, i have installed a Samba NT PDC Domain with XP Prof. and strangelly
the machines are syncronizing with the Samba Server when the user Logoff
of the domain. I've used the smb.conf below in others domains and XP
clients have never synchronized before.
I understand that i'm not using roaming profile, because the logon
path is empty. The only difference in this domain is that
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
2005 Feb 15
6
Windows update
Hi!
How do you guys solve windows security updates? Is there a way to force windows
computers to be updated. Even more flexible is if one can update windows through
login script.
Peter Nyberg
Institutionen f?r Biokemi och Biofysik (DBB)
Sv.Arrhenius v?gen 12
106 91 Stockholm
Tel: 08-16 24 69
Mobil: 070 339 24 69
Fax 08 153679
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
2010 Feb 11
2
[PATCH] virtio-spec: document MSI-X
This documents MSI-X support in virtio.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
virtio-spec.lyx | 358 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 332 insertions(+), 26 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 49ed612..d16104a 100644
--- a/virtio-spec.lyx
+++ b/virtio-spec.lyx
@@ -1,4 +1,4 @@
-#LyX 1.6.4 created
2010 Feb 11
2
[PATCH] virtio-spec: document MSI-X
This documents MSI-X support in virtio.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
virtio-spec.lyx | 358 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 332 insertions(+), 26 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 49ed612..d16104a 100644
--- a/virtio-spec.lyx
+++ b/virtio-spec.lyx
@@ -1,4 +1,4 @@
-#LyX 1.6.4 created