Displaying 20 results from an estimated 9000 matches similar to: "R CMD check: checking examples: how to (not) pause execution"
2004 Aug 31
7
blockwise sums
I am looking for a function like
my.blockwisesum(vector, n)
that computes sums of disjoint subsequences of length n from vector
and can work with vector lengths that are not a multiple of n.
It should give me for instance
my.blockwisesum(1:10, 3) == c(6, 15, 24, 10)
Is there a builtin function that can do this?
One could do it by coercing the vector into a matrix of width n,
and then use
2006 May 18
1
R CMD check: "T used instead of TRUE"
Hello everybody,
I am just trying to put together my first own CRAN-able package.
I have completed the programming and my code works OK.
But now when I perform
R CMD check agsemisc_1.0-2.tar.gz
and R gets to the step
* checking examples ...
I receive the following error message:
> print(bwplot(Species~Sepal.Length, data=iris, panel=panel.bwstrip))
Error in rep(T, length(x)) : T used
2004 Mar 16
3
Terminology and canonical statistical user literature
Brian Ripley wrote (to somebody asking about "effect sizes"):
> ...
> Given that, I wonder if you are used to standard terminology.
Good point. But I think for many of us there is more behind that.
I personally belong to an (apparently fairly large) group of
R users who may be enthusiastic, but are statistical laymen
due to a lack of formal education in the area.
The
2006 May 18
1
Trellis equivalent of par(ask=TRUE)?
(was: AW: [Rd] R CMD check: checking examples: how to (not) pause
execution)
Paul, Brian,
> > I think the more usual way to solve this is to have the user set
> > par(ask=TRUE) is they want to be prompted.
thank you.
Looking back, 'par' would have been a likely candidate for looking.
One reason I did NOT look there is that I need the functionality
for print.trellis in
2004 Apr 28
1
Extracting numbers from somewhere within strings
Hello everybody,
I have a bunch of strings like this:
"IBM POWER4+ 1.9GHz"
"IBM RS64-III 500MHz"
"IBM RS64-IV 600 MHz"
"IBM RS64 IV 750MHz"
"Intel Itanium 2 Processor 6M 1.5GHz"
"Intel Itanium2 1 Ghz"
"Intel Itanium2 1.5GHz"
"Intel
2004 May 03
2
Lattice: finding out xlim within panel function
Dear Lattice bit-meddlers,
while within a panel function for xyplot, how can I
find out the values of (effectively) xlim and
ylim -- no matter whether they have been set
explicitly or chosen by Lattice itself?
I have just tried for an hour to find out,
with no success whatsoever.
I looked in Grid for something that would
return such data, but got lost.
I looked at tracebacks of panel calls,
2006 Apr 21
1
plot.default 'ylim' error message is wrong (PR#8784)
Full_Name: Lutz Prechelt
Version: 2.2.1
OS: WinXP SP2
Submission from: (NULL) (130.133.8.114)
This command
plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17))
should complain about 'ylim' (because it has three elements).
However, it does in fact (in my german error message at least)
complain about 'xlim' instead:
Fehler in plot.window(xlim, ylim, log, asp, ...) :
ung?ltiger
2007 Mar 21
1
rbind.data.frame reacts on levels without factor (PR#9578)
Full_Name: Lutz Prechelt
Version: 2.4.1
OS: Windows XP
Submission from: (NULL) (160.45.111.67)
I stack a number of data.frames using rbind.
Each of these dataframes has a column 'authorname', which is a factor
and a column author = unclass(authorname) as piecewise pseudonyms.
When using rbind to stack these dataframes, R warns about invalid factor levels
and inserts all NAs in the author
2004 Mar 31
11
Zero Index Origin?
I'm very new to R and utterly blown away by not only the
language but the unbelievable set of packages and the
documentation and the documentation standards and...
I was an early APL user and never lost my love for it and in
R I find most of the essential things I loved about APL
except for one thing. At this early stage of my learning I
can't yet determine if there is a way to
2007 May 14
0
(PR#9666) 'aggregate' should preserve level ordering of
On Tue, 8 May 2007, prechelt at inf.fu-berlin.de wrote:
> Full_Name: Lutz Prechelt
> Version: 2.4.1
> OS: Windows XP
> Submission from: (NULL) (160.45.111.67)
>
>
> aggregate (from package stats) should preserve the
> ordering of levels of factors it works on and also their
> 'ordered' attribute if present.
> But it does not.
In fact it treats all grouping
2007 Feb 07
2
manage R function and data dependencies like 'make'
Dear R-devels,
I am looking for a package (or some other infrastructure) for the
following situation:
I am doing a larger data evaluation.
I have several dozen data files and do not want to keep the persistent
data in the R workspace (for robustness reasons).
I have several dozen R files, some for reading and preprocessing data
files, others for doing plots or analyses.
I will make frequent
1999 Aug 23
1
Strange 'Unimplemented feature in rep' error (PR#254)
I have a large computation that performs various bootstrap resampling
loops over pairs of samples using lapply().
After a few seconds it stops like this
> do.summarize.effects(compute.power=T)
...
Error: Unimplemented feature in rep
> .Traceback
[[1]]
[1] "rep(no, length = length(ans))"
[[2]]
[1] "ifelse(t.howto == \"n\", boot.result, l.meanboot.test(onew.x,
2007 Mar 29
0
(PR#9589) 'union' does not handle factors while 'intersect'
This is not a bug, nor is the subject line true: both do accept
factors but what they do with factors is undocumented. From the help
(not 'man') page
Performs *set* union, intersection, (asymmetric!) difference,
equality and membership on two vectors.
^^^^^^^
so it is not said to work on factors. I disagree that what intersect()
for
2004 Jun 22
1
RE: summaries (was: SUMMARY: "elementary sapply question")
Ajay,
thank you very much for picking up that age-old habit of
posting summaries.
It existed years ago on s-help and I find it is still a great
thing: I would not have bothered to read your original question
nor the answers you got, but I did read the summary -- and I
learned something quite interesting!
Maybe some others who receive multiple non-elementary answers to their
questions could
2007 Mar 29
0
(PR#9578) rbind.data.frame reacts on levels without
In your data frames, 'y' is a category and the following comment in the
code makes clear this is deliberate.
if( !is.null(levels(xj)) ) {
all.levs[[j]] <- levels(xj)
facCol[j] <- TRUE # turn categories into factors
} else facCol[j] <- is.factor(xj)
The behaviour is compatible with S apart from the comment in the R help
2007 May 08
0
'aggregate' should preserve level ordering of factors (PR#9666)
Full_Name: Lutz Prechelt
Version: 2.4.1
OS: Windows XP
Submission from: (NULL) (160.45.111.67)
aggregate (from package stats) should preserve the
ordering of levels of factors it works on and also their
'ordered' attribute if present.
But it does not.
Here is an example:
ff =
2007 Oct 30
3
[Weft QDA users] Using WeftQDA for Mailing-List Analysis
Hi Alex, Hi Weft-Users!
I am looking for a tool for doing a qualitative analysis of mailing-list
data. This means I have a *lot* of individual documents (the typical case:
around 500-5000 emails), belonging to the same "super-document" (a mailing
list).
I have looked at several tools and I like that Weft is public domain and
written in Ruby, so I want to figure out whether it
2001 Jun 20
8
[Lutz.Jaenicke@aet.TU-Cottbus.DE: 2.9p1: HP-UX 10.20 utmp/wtmp handling broken?]
Hi!
I am resending the following message about problems with utmp handling.
* In the meantime I had some request in private mail from people asking
whether I have new information.
* The problem is still persistant in 2.9p2.
* My own new investigations show, that the problem only appears with
protocol 2, not with protocol 1, I therefore only started to note it
when protocol 2 became the
2010 Aug 10
4
[PATCH] Values of cpu_weight and cpu_cap are lost after xend restart
# HG changeset patch
# User Lutz.Dube
# Node ID ca2c8c262dbaa6b2521cec60af7cd688dabdf850
# Parent 8992134dcfd0b9e1e86f4111e68a8aa48bd33c3c
Values of cpu_weight and cpu_cap are lost after xend restart
For managed domains in state ''halted'' I always get default values
for cpu_cap / cpu_weight after xend restart.
This is because the names of parameters differ between a SXP file to
2000 Sep 14
2
openssh 2.2.0p1 fails with openssl 0.9.6-beta1
On Wed, Sep 13, 2000 at 09:13:26AM +0000, Graham Murray wrote:
> On upgrading to openssl 0.9.6-beta1, I find that openssh 2.2.0p1 fails
> to connect.
I did some more experiments and also saw the problems.
They occur when using a 0.9.6-beta client to connect to 0.9.5a and 0.9.6-beta
servers.
They also occur when using a 0.9.5a client connecting to a 0.9.6-beta
server.
Connections fail with