Carlos Guevel wrote:
I´ve tried version 1.9.0 barplot with these (and others) example from the help page:
tN <- table(Ni <- rpois(100, lambda=5))
r <- barplot(tN, col='gray') I get :
<<...OLE_Obj...>> Same example with version 1.8.1 gives the following result:
<<...OLE_Obj...>>
What is wrong with v.1.9.0?
Thanks,
Carlos Guevel
This has been reported a while back:
http://r-bugs.biostat.ku.dk/cgi-bin/R/Graphics?id=6777;expression=barplot;user=guest
which also suggests a workaround.
tN <- table(Ni <- rpois(100, lambda=5)) r <- barplot(as.vector(tN), col='gray')
Alternatively, barplot2 in the gregmisc package should also work.
library(gregmisc) tN <- table(Ni <- rpois(100, lambda=5)) r <- barplot2(tN, col='gray')
--sundar
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html