[Rd] beginner finds a bug - crash induced. (PR#8035)
maechler@stat.math.ethz.ch
maechler at stat.math.ethz.ch
Tue Jul 26 11:26:14 CEST 2005
Well,
you say yourself it wasn't reproducible. So it could have been
anything that "crashed" you R , cosmic radiation, a bolt of
lightning reversing a bit in your computer memory ,... :-)
many things rather than a bug in R.
But before dropping this report completely,
can you try
for(i in 1:1000) {
state <- c("tas", "sa", "qld", "nsw", "nsw", "nt", "wa", "wa",
"qld", "vic", "nsw", "vic", "qld", "qld", "sa", "tas",
"sa", "nt", "wa", "vic", "qld", "nsw", "nsw", "wa",
"sa", "act", "nsw", "vic", "vic", "act")
print(factor(state))
print(table(state))
barplot(table(state))
}
which does what you did, but 1000 times --- "of course" completely
flawlessly for me..
Martin Maechler, ETH Zurich
>>>>> "sholland" == sholland <sholland at napervillegi.com>
>>>>> on Tue, 26 Jul 2005 04:29:23 +0200 (CEST) writes:
sholland> Full_Name: Stephen Holland M.D.
sholland> Version: 2.1.1
sholland> OS: Mac OS X
More information about the R-devel
mailing list