[Rd] tapply/barplot (PR#6983)

Vidar.Hjellvik at imr.no Vidar.Hjellvik at imr.no
Tue Jun 15 14:20:05 CEST 2004


there seems to be a bug in tapply or barplot in R 1.9.0 that was not in =
earlier versions. The following code creates two nice barplots in 1.7.0, =
but the first one is bad in 1.9.0:

x <- rep(1:10,10)
y <- runif(100,1,100)
z <- tapply(y,x,mean)

although is.numeric(z) returns TRUE!

Best regards,

Vidar Hjellvik
Institute of Marine Research
P.O.Box 1870 Nordnes
N-5817 Bergen
phone: +47 55 23 86 62
email: vidarh at imr.no

More information about the R-devel mailing list