From Vidar.Hjellvik at imr.no  Tue Jun 15 14:20:05 2004
From: Vidar.Hjellvik at imr.no (Vidar.Hjellvik@imr.no)
Date: Tue Jun 15 14:20:10 2004
Subject: [Rd] tapply/barplot (PR#6983)
Message-ID: <20040615122005.D794C105A2@slim.kubism.ku.dk>

Hello,

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:

par(mfrow=3Dc(1,2))
x <- rep(1:10,10)
y <- runif(100,1,100)
z <- tapply(y,x,mean)
barplot(z)
barplot(as.numeric(z))

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@imr.no


[Rd] tapply/barplot (PR#6983)
Vidar.Hjellvik@imr.no