Displaying 20 results from an estimated 30000 matches similar to: "Bug in plot.formula (PR#757)"
2000 Dec 05
1
Inconsistency, possibly a bug? (PR#758)
Seems to be a day for finding peculiar little things. There is an
inconsistency in the behavior of lm vis a vis glm:
> x <- rnorm(15)
> y <- 1 + 10*x + rnorm(15)
> z <- as.factor(rep(c("A","B","C"),rep(5,3)))
> xyz <- data.frame(x,y,z)
> fit.lm <- lm(y ~ x + z, data=xyz, subset=(z != "C"))
> fit.glm <- glm(y ~ x +
2004 Mar 08
2
Bug in points.formula (PR#6652)
Dear all,
I noticed the following bug in points.formula
> library(DAAG)
> data(roller)
> fm <- lm(depression ~ weight, data=roller)
> plot( depression ~ weight, data=roller, type="n")
> abline(fm)
> attach(roller)
> points( depression~weight, subset=1:7)
> points( depression~weight, subset=8:10, col="blue")
Error in if (length(x) == l) x[s] else x :
2003 Apr 28
1
ylab in time series plot (PR#2869)
You get a warning message when you specify a ylab parameter while
plotting data whose x's are POSIXct values. Apparently the
`axis.POSIXct' method tries to reset the ylab---via the ...
parameter---after it has already been set by higher level methods.
Here is a function that illustrates the problem.
ylabProblem <- function() {
x <- ISOdate(2003, 4, 1:10) # POSIXct
2002 May 30
1
Documentation Bugs (PR#1618)
Just a few documentation "bugs" that I've noticed recently.
1. In the help for (dpqr)weibull(), the formula given for the
variance of a Weibull is wrong. The correct formula is
b^2 * sqrt(gamma(1 + 2/a) - (gamma(1 + 1/a))^2))
Note that I've also changed Gamma to gamma, which I think is
preferable since this is actually the name of the gamma() function
2002 Aug 15
1
order(1, na.last=NA) fails (PR#1913)
R> order(1, na.last=NA)
Error in apply(sapply(z, is.na), 1, any) :
dim(X) must have a positive length
This bug appears unrelated to PR#1906, and so the fix of 8/15 doesn't help.
It comes from the line inside order():
ok <- !apply(sapply(z, is.na), 1, any)
where z=list(1) in my example. sapply() returns a single-element vector, not a
matrix, making apply() unhappy. This might
2002 Mar 08
2
Sys.putenv environment variables disappear (PR#1371)
Environment variables set with Sys.putenv() disappear (i.e. become "")
after a while, especially after heavy-duty I/O. Example:
R> x <- matrix(1., 3000, 3000)
R> save(x, file="myx.RData")
R> Sys.putenv(HOME="/tmp")
R> while (Sys.getenv("HOME") != "") {cat("ok\n"); load("myx.RData")}
The loop prints
2002 Aug 13
2
Misalignment of <NA> in rownames (PR#1905)
An NA in the rownames of a matrix (or dataframe) causes misalignment when the
matrix is printed:
R> x <- matrix(1:12, 3,4, dimnames=list(letters[1:3], LETTERS[1:4]))
R> rownames(x)[2] <- NA
R> x
A B C D
a 1 4 7 10
<NA> 2 5 8 11
c 3 6 9 12
The bug is in function Rstrlen, in src/main/printutils.c. MatrixRowLabel and
MatrixColumnLabel (same file) rely on Rstrlen
1999 Jul 09
4
core dump on 0.64.2 SPARC/Solaris 2.6 in eigen (PR#223)
..
R is now configured for sparc-sun-solaris2.6
Source directory: .
Installation directory: /unsup/R-0.64.2
C compiler: gcc -g -O2
FORTRAN compiler: g77 -O2
Gnome support: no
$ gcc --version
egcs-2.91.66
$ g77 --version
GNU Fortran 0.5.24-19981002
"make check" later fails. The failure is in the test of the eigen()
function. The
2008 Nov 17
0
lines.formula() problem when data argument is missing (PR#13296)
Full_Name: Steven McKinney
Version: R 2.8.0 Patched svn rev 46845
OS: powerpc-apple-darwin9.5.0
Submission from: (NULL) (142.103.207.10)
<<insert bug report here>>
lines.formula() throws an error when subset argument is used but nothing is
provided for data argument.
Reproduce:
x<-1:5
y<-c(1,3,NA,2,5)
plot(y~x, type="n") # set up frame
lines(y~x,
2000 Mar 27
1
R port of acepack
To whom should bug reports of the R port of acepack be directed?
On a SPARC/Solaris 2.6 or 2.7 (SunOS 5.6 or 5.7) system running
R-1.0.0 the avas example fails
> library(acepack)
> example(avas)
avas> TWOPI <- 8 * atan(1)
avas> x <- runif(200, 0, TWOPI)
avas> y <- exp(sin(x) + rnorm(200)/2)
avas> a <- avas(x, y)
Process R bus error (core dumped) at Mon
2000 Jul 05
2
eigen function on Solaris2.6 (PR#595)
Full_Name: Sharon Kuhlmann
Version: 0.99
OS: solaris2.6
Submission from: (NULL) (129.16.167.231)
When I use the function > eigen(x), it gives me a "Process R bus error",
and the program quits.
I'm running the following R version:
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
system sparc, solaris2.6
status Patched
2001 Oct 22
3
round() doesnt (PR#1138)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
2002 Apr 10
5
Funny characters in x11 window title (PR#1451)
In R-1.5.0pre (2002-04-08) on Solaris 2.6, the window that X11() creates has a
title like:
R Graphics: Device 2 (ACTIVE) o iyeP )( y
except the funny characters at the end have umlauts and other accents
(i.e. extended ASCII characters), and they may be different each time X11() is
invoked. There is no loss of functionality; it just looks a little ugly.
I saw this behavior in R-1.3.?, it
2002 May 11
1
vector(NA, 3) (PR#1541)
I don't seem to be able to initialize a vector of NAs. I hope this is a
bug and not a new feature (I realize I have not paid much attention to a
lot of recent discussion about NA):
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
system sparc, solaris2.6
status
major 1
minor 5.0
year
2002 Apr 18
1
grid lines outside plot region in version R1.4.1
Hello everybody,
if I'm using par(xpd=NA) gridlines will plotted outside the plotting region. This is "new" (and, in my
opinion, unaesthetic) in version 1.4 - compared to version 1.3. Is this a bug or a feature?
Example:
------------------
par(xpd=NA)
plot(1:11)
grid()
------------------
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
1999 Sep 16
2
install/libraries on solaris2.6 (PR#280)
Full_Name: ulrich poetter
Version: 0.65.0
OS: sparc-sun-solaris 2.6
Submission from: (NULL) (134.147.95.163)
Building R-0.65.0 on sparc-sun-solaris2.6 using sun make + gcc 2.95.1+ binutils
2.8.1
and ./configure --with-g77 fails when building the eda etc. libraries. The
configure
script produces SHLIBLDFLAGS= -G. Replacing this in config.site by
SHLIBLDFLAGS = -shared gives no errors during
2002 Apr 30
3
rbind'ing empty rows in dataframes in 1.4.1 versus 1.5.0
Hi,
In 1.4.1, I was able to create extra "empty" rows in a dataframe as so:
> x <- data.frame(a = letters[1:3], b = 1:3)
> x
a b
1 a 1
2 b 2
3 c 3
> x[4,]
a b
NA NA NA
> rbind(x, x[4,])
a b
1 a 1
2 b 2
3 c 3
NA NA NA
> R.version
_
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
2000 Jun 02
3
graphical parameters in plot
I'm using plot to make a simple plot but I want to control where
the tick marks go on bot axes. The graphical parameters xaxp and
yaxp seem to be ignored by the plot function so I tried setting them
using
op <- par(no.readonly=T)
par(xaxp=c(-2.4,-2.2,5), yaxp=c(-2500,10000,6))
plot(...)
par(op)
but they are still ignored.
Next I tried to use the axis function as follows
op <-
2000 Jun 19
2
fortran compile problem with R-1.1.0
Hello List,
Knowing I would eventually need to ask for help on the list, I've held
off my thanks and congratulations on the 1.+ releases of R. I am amazed
at the dedication of the R-core team, and do add my applause and thanks.
I've had a compile problem with the latest version which has not
occurred before. I'm compiling under:
platform sparc-sun-solaris2.6
arch sparc
2000 Jan 11
1
Figure margins too large
I seem to remember an error like this being mentioned before, but if it wasn't:
> zz <- density(rnorm(100))
> plot(zz)
Error in plot.new() : Figure margins too large
> version
_
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
system sparc, solaris2.6
status
major 0
minor 90.1
year 1999
month December
day 15
language R
Paul Gilbert