Displaying 20 results from an estimated 30000 matches similar to: "[Fwd: buglet (?) in de.restore()]"
2007 Sep 02
1
buglet in dist() ?
the first line of dist() says
if (!is.na(pmatch(method, "euclidian")))
shouldn't that be "euclidean" ?
---------------------
R version 2.5.1 (2007-06-27)
i486-pc-linux-gnu
locale:
2007 Dec 09
1
buglet in curve?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Symptoms: curve with log x axis gets the wrong
x limits (in 2.6.1, I believe introduced in this version).
Credit goes to Mike McCoy for detecting the problem.
Demonstration:
x = 1:5
plot(x,5*exp(-x),xlim=c(0.1,1000),log="x")
xvec = 10^seq(-1,3,length=100)
lines(xvec,5*exp(-xvec))
curve(5*exp(-x),add=TRUE,col=2,lwd=3)
I believe
2008 Oct 11
1
problem with cut.Date/date plotting in ggplot2
I've hit a problem in ggplot2 which I can trace back to cut.Date ,
which is either a bug or (??) ggplot2 trying to do something it
shouldn't with cut.Date (although its use of cut.Date seems OK).
Apparently any (?) call of the form
cut(as.Date("2008-07-07"),"weeks")
where the date *begins the week*, gives the error
Error in 1:(1 + max(which(breaks < maxx))) :
2009 May 12
2
View() crashy on Ubuntu 9.04
It's my vague impression that View() is workable on Windows and maybe
on MacOS, but on Ubuntu Linux 9.04 (intrepid) it seems completely
unstable. I can reliably crash R by trying to look at a very small,
simple data frame ...
I was going to try to run with debug turned on, but my installed
version (2.9.0) doesn't have debugging symbols, and I'm having trouble
building the latest
2009 Jul 01
2
locale changing on Windows
Dear r-helpers,
This is a little bit more of a Windows problem than
an R problem, but ...
any idea how to query the *available* locales from
within R (or otherwise) on a Windows system? Teaching
in a Spanish-language setting and would like to do
something like
Sys.setlocale("LC_TIME","en_US")
(for example so that we can convert dates like
"1970-jan-01" with
2009 Dec 08
4
lower.tail option in pnorm
Hi,
I would have thought that these two constructions would
produce the same result but they do not.
Resp <- rbinom(10, 1, 0.5)
Stim <- rep(0:1, 5)
mm <- model.matrix(~ Stim)
Xb <- mm %*% c(0, 1)
ifelse(Resp, log(pnorm(Xb)), log(1 - pnorm(Xb)))
pnorm(as.vector(Xb), lower.tail = Resp, log.p = TRUE)
> ifelse(Resp, log(pnorm(Xb)), log(1 - pnorm(Xb)))
[1] -0.6931472 -1.8410216
2008 Feb 10
2
View() + "End" key on Ubuntu=segfault
I can repeatably crash R (segfault)
by doing
n <- 10
z <- data.frame(a=1:n,b=1:n)
View(z)
and then hitting the "End" key on my keyboard.
I haven't got debugging going yet, but running under
gdb (without debugging symbols) does give this:
0xb7b63583 in strlen () from /lib/tls/i686/cmov/libc.so.6
R version 2.6.2 (2008-02-08)
i486-pc-linux-gnu
[Ubuntu Gutsy]
locale:
2020 Aug 07
2
qnbinom with small size is slow
Hi all,
I recently noticed that `qnbinom()` can take a long time to calculate
a result if the `size` argument is very small.
For example
qnbinom(0.5, mu = 3, size = 1e-10)
takes ~30 seconds on my computer.
I used gdb to step through the qnbinom.c implementation and noticed
that in line 106
(https://github.com/wch/r-source/blob/f8d4d7d48051860cc695b99db9be9cf439aee743/src/nmath/qnbinom.c#L106)
2024 Sep 20
1
model.matrix() may be misleading for "lme" models
Dear r-devel list members,
I'm posting this message here because it concerns the nlme package,
which is maintained by R-core. The problem I'm about to describe is
somewhere between a bug and a feature request, and so I thought it a
good idea to ask here rather posting a bug report to the R bugzilla.
I was made aware (by Ben Bolker) that the car::Anova() method for "lme"
2016 Mar 04
2
as.vector in R-devel loaded 3/3/2016
I see as below, where getGeneric and getMethod imply a different signature; the signature is mode="any" for both cases in R version 3.2.3 Patched (2016-01-28 r70038)I don't know how to reproduce Jeff's error, though.
> library(Matrix)
> as.vector
function (x, mode = "any")
.Internal(as.vector(x, mode))
<bytecode: 0xe79f88>
<environment:
2007 Sep 03
0
buglet?? in nlme:::corRatio documentation
[hoping to redeem myself for my last spurious bug report]
From ?corRatio:
Letting d denote the range and n denote the nugget effect, the
correlation between two observations a distance r apart is
(r/d)^2/(1+(r/d)^2) when no nugget effect is present and
(1-n)*(r/d)^2/(1+(r/d)^2) when a nugget effect is assumed.
This disagrees with the C code (corStruct.c)
/* Rational class
2009 Oct 21
1
odd evaluation within correlation argument of glmmPQL
[I think I've seen this reported before but can't locate it any more.
I believe this oddity (glitch? feature?) is behind a query that
Jean-Baptiste Ferdy asked a year ago
<http://finzi.psych.upenn.edu/Rhelp08/2008-October/176449.html>]
It appears that glmmPQL looks in the global workspace, not
within the data frame specified by the "data" argument, for
the variables
2007 Jun 23
1
putting binary files in a package
I have some binaries I would like to distribute with a package
(I am not the original author; I have the source code but can't distribute
it because it contains _Numerical Recipes_ code. The long-term
solution is to replace the code with new code written in R, or
in clean C, but in the meantime ...)
I'm uncertain both where they ought to go and where they
will work (and hoping there
2002 Jun 26
1
[Fwd: Kerberos buglet in OpenSSH-3.3p1]
Can anyone with Heimdal KrbV verify this?
-------------- next part --------------
An embedded message was scrubbed...
From: Dag-Erling Smorgrav <des at ofug.org>
Subject: Kerberos buglet in OpenSSH-3.3p1
Date: 25 Jun 2002 14:52:10 +0200
Size: 1291
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020626/347e123e/attachment.mht
2005 Apr 08
2
oggzinfo buglet
Conrad,
Small buglet with the 0.9.1 liboggz release (go dude!)
http://thaumas.net/~giles/xiph/elphel/clips/elphel_00017.ogg causes a
float exception in oggzinfo when it tries to calculate the bitrate. It
fails to measure the duration and tries to divide by zero. :)
There may well be something wrong with the file, although oggz-validate
doesn't complain.
Also, the configure script
2008 Jul 29
1
closing View windows after multiple View(x) crashes
> sessionInfo()
R version 2.8.0 Under development (unstable) (2008-07-07 r46046)
i686-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils
2009 Dec 09
1
Warning for data.table (with ref)?
I have following the message "dim(refdata) and dimnames(refdata) no
longer allow parameter ref=TRUE, use dim(derefdata(refdata)),
dimnames(derefdata(refdata)) instead" when I loaded data.table. Is it
from the package ref? Could it be fixed? Or there is something wrong
with my installation?
> library(data.table)
Loading required package: ref
dim(refdata) and dimnames(refdata) no
2006 Dec 10
1
Problem with loading "library(Matrix)" at Ubuntu
Dear All,
After upgrading to R-2.4.0-dapper2 (my system is ubuntu 6.06 LTS), I often
met problems when loading some packages like Matrix.
Here is the details:
> library(Matrix)
Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
keep.source) :
in 'Matrix' methods specified for export, but none defined: Arith,
Math, Math2, +, %*%, Schur, as.matrix, chol,
2005 Apr 09
1
Re: oggzinfo buglet
On Sun, Apr 10, 2005 at 01:14:14PM +1000, Conrad Parker wrote:
> On Fri, Apr 08, 2005 at 12:45:08PM -0700, Ralph Giles wrote:
> > Conrad,
> >
> > Small buglet with the 0.9.1 liboggz release (go dude!)
> >
> > http://thaumas.net/~giles/xiph/elphel/clips/elphel_00017.ogg causes a
> > float exception in oggzinfo when it tries to calculate the bitrate. It
2009 Mar 12
1
installed.packages and package info cache buglet (PR#13592)
Looks like there is a buglet in 'installed.packages', around line 17:
for (lib in lib.loc) {
dest <- file.path(tempdir(), paste("libloc_", URLencode(lib,=20
TRUE), paste(fields, collapse =3D ","), ".rds", sep =3D ""))
if (!noCache && file.exists(dest) && file.info(dest)$mtime >=20