Displaying 20 results from an estimated 600 matches similar to: "The "Sets" package and element equality test"
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message:
> win.metafile(file = "//.../plot1.wmf",
+ width = 8.5, height = 6.25)
> lset( list( background = list(col = "white")))
Error in get(x, envir, mode, inherits) :
variable "win.metafile://.../plot1.wmf" was not found
> traceback()
4: get(device)
3: trellis.device(device = .Device, new = FALSE)
2: trellis.par.get(item)
1:
2008 Jul 09
1
memory leak in sub("[range]",...)
There is a 2-block memory leak in the sub() (or any other regex-related
function, probably) when the pattern argument involves a range
expression, e.g., '[0-9]'.
% R --debugger=valgrind --debugger-args=--leak-check=full --vanilla
==14519== Memcheck, a memory error detector.
==14519== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==14519== Using LibVEX rev 1658, a
2008 Aug 07
1
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#11946)
Full_Name: Bill Dunlap
Version: R version 2.8.0 Under development (unstable) (2008-07-05 r46037)
OS: Linux
Submission from: (NULL) (76.28.245.14)
valgrind finds some memory leaks in R when I use sub() with
a range in the regular expression:
% R --debugger=valgrind --debugger-args=--leak-check=full --quiet --vanilla
==28643== Memcheck, a memory error detector.
==28643== Copyright (C) 2002-2006,
2004 Sep 29
2
lattice .ps graphic is rotated in LaTeX slides
I've generated a version of the classic dotplot of the barley data with
library(lattice)
data(barley)
trellis.device("postscript", color=TRUE, file="barley2x3.ps")
old.settings <- trellis.par.get()
trellis.par.set("background", list(col = "white"))
lset(list(superpose.symbol=list(pch=c(19, 1, 25, 2, 15, 22, 23),
2004 Jul 18
2
gray background in png
Hi all,
I'm having a problem creating png images with trellis.device. I would
like to create many plots with a white background using a sequence
number in the file argument (i.e. "%02d"). The first plot is as expected
with a white background. However, the second and all subsequent plots
have a gray background. I would like all plots to have a white (or
transparent)
2005 Apr 07
4
sweave bwplot error
Hi
I use sweave and have a problem with the following figure, but not with
other figures:
tt <- data.frame(c("a", "b", "c"), c(1.2, 3, 4.5))
names(tt) <- c("x1", "x2")
bwplot(x2 ~x1, data = tt)
ok now in sweave:
\begin{figure}[H]
\begin{center}
<<echo=FALSE, fig=TRUE, height=5, width=10>>=
lset(col.whitebg())
bwplot(x2 ~x1,
2004 Jul 27
1
re: help with lattice plot
Dear List,
I have been using R to create an xyplot using the panel function within
lattice libraries. This plot is based on the data supplied in R named
'Oats'. The graph represents oat yield by nitro level with an overlay of
each variety of oats for each nitro level.
I have three questions regarding this graph:
1) I cannot seem to specify the type of symbol used by the plot, even
though
2008 Aug 26
2
svymeans question
I have the following code which produces the output below it
clus1 <- svydesign(ids = ~schid, data = lower_dat)
items <- as.formula(paste(" ~ ", paste(lset, collapse= "+")))
rr1 <- svymean(items, clus1, deff='replace', na.rm=TRUE)
> rr1
mean SE DEff
W525209 0.719748 0.015606 2.4932
W525223 0.508228 0.027570 6.2802
W525035 0.827202
2004 Jun 23
2
Tick marks in xyplot
Dear R group
I am making multiple xyplot, and would like to have tick marks on bottom and left in EACH panel, but only tick labels at the bottom and left of the whole graph.
I have browsed the internet, as well as the help page without success.
If anyone could help me find the path to the solution I would appreciate.
Here is an example, this is the best I could do:
lset(col.whitebg())
x.data
2004 Sep 22
1
layout for xyplot
Dear all,
I tried to use layout argument in xyplot to get one panel per page.
I have a dataframe named 'data' with the following variables:
x, y = coords,
sub, bloc = 2-level factors,
etat = 5-level factor,
I did :
> lset(theme = col.whitebg())
> xyplot(y ~ x | bloc*sub , data=data, groups=etat,
+ layout=c(0,1,4),
+ main="Etat des plantes dans chaque
2004 Feb 04
5
Date Time Conversion problems...
At one time (version 1.7), the code below used to work for converting and
extracting based on the Date Time. In version 1.8.1, something changed I
know, but I cannot for the life of me figure out what...
Data:
UserName,RequestDate,PO,OrderDate,ExpDelivDate,Vendor,Total
"Woody, Jim",12/19/2002,AP15063,1/7/2003,2/10/2003,Ames ,8570
"Harrold,
2018 Mar 26
0
New LLD performance builder
Galina Kistanova <gkistanova at gmail.com> writes:
> Disabling swap and having a single CPU in the shield group didn't change
> much, besides cpu-migrations and context-switches, which now are 0
> obviously.
> That clustering remains the same. It is also stable to the number of runs
> (I have changed the test to run 20 times in the middle of that range on the
> right).
2011 Oct 07
1
Pb building sets of S4 / RefClass objects with package "sets"
Hi,
does anyone know if it is possible to construct sets of S4 objects?
It seems the constructor set does not like it:
Error in as.vector(x, "character") :
cannot coerce type 'environment' to vector of type 'character'
Regards
Johnny
PS: by the way, does anyone know where I can find some examples using the
cset class from the "sets" package, beside the
2018 Mar 26
1
New LLD performance builder
Hi Rafael,
Thanks for mentioning this.
It should be running as root, but I'll double check anyway.
Thanks
Galina
On Mon, Mar 26, 2018 at 10:47 AM, Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:
> Galina Kistanova <gkistanova at gmail.com> writes:
>
> > Disabling swap and having a single CPU in the shield group didn't change
> > much,
2004 Mar 04
1
lattice/grid: problem with viewports for strips with zero height
PROBLEM
# Allocating strip labels by the function strip.fun():
strip.test()
# Result: No strips: ok. No strings: NOT OK.
# The distance ``y.text=unit(6,"points")'' is ignored;
# the strings are not seen on the output.
TRIALS FOR WORKAROUNDS
strip.test( strip.lines=1 )
# Result: 2 strips: ok, but not whished. 2 strings: ok.
2004 Aug 03
1
(Lattice) How to improve the readability of a bwplot, i.e. separating groups somehow
Hi all,
first of all thanks for the answer to my previous question on lattice some
time ago.
In particular to Patrick Connolly for advices on netiquette (I hope this
time I'm doing right....)
and to Deepayan Sarkar fro the help on lattice.
Now, my nowaday problem.
Please consider the following
mydf<-cbind.data.frame(
RESPONSE = c(rnorm(9,rep(2:4,each=3),10),
2004 May 01
0
log(0) error is not handled in xyplot, Windows
Hi,
We had some exchanges off the list with Deepayan Sarkar about a bug (?) we cannot fix (it seems it does not occur under Unix). It
likely needs the help of somebody on Windows.
The initial problem was that when running the following script (Windows XP, R 1.8.1 as well as R 1.9.0):
> lset(col.whitebg())
> xyplot(rdens ~ annee | habitat,
> groups = sp, type = 'b',
>
2003 Jan 28
1
Plot to postscript in function
Hello,
I am having problems with plotting to a postscript device within a
function call.
When I do the same thing line by line in the command line interface, I
have no problems, but the function creates an empty postscript file.
If I remove the dev.off() call at the end of the function, I get one of
the plots (the last), but not the others.
Is there any way to get around this problem, or a
2008 Mar 19
10
Illegal PV kernel pfm/pfn translations on PROT_NONE ioremaps
Hi,
On paravirt x86 (both 32- and 64-bit), since cset 13998:
http://xenbits.xensource.com/xen-unstable.hg?rev/13998
we translate all ptes from being mfn-based to pfn-based when the
hardware _PAGE_PRESENT bit is cleared. We do this for PROT_NONE pages,
which appear to the HV to be non-present, but which are special-cased in
the kernel to appear present (a different bit in the
2002 Aug 07
1
Setting up a PDC + multiple BDCs across subnets
hello,
I'd like to setup domain authentication purely based on Samba Domain
Controllers. Each subnet would have its own BDC (with security = domain
option), forwarding smb requests to the PDC (located on the backbone),
ie authentication, shares..
My PDC is LDAP based, all that part is ok, win98 workstations
successfully log into the PDC. I use idealx smbldap tools, that seem to
work fine. I