R-alpha: bugs in factor, barplot

Friedrich Leisch (Friedrich.Leisch@ci.tuwien.ac.at)
Wed, 19 Mar 1997 12:05:58 +0100


Date: Wed, 19 Mar 1997 12:05:58 +0100
Message-Id: <199703191105.MAA24598@galadriel.ci.tuwien.ac.at>
From: Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at>
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: bugs in factor, barplot


factor
------

different behavior of Splus and R:

R> factor(double(0))
Error in factor(match(x, levels), length(levels), ordered) : invalid numb=
er of factor levels

S> factor(double(0))
character(0)




barplot
-------

contains several times combinations like

   plot.new(...)
   plot.window(xlim, ylim, log =3D "", ...)

which IMHO should be=20

   plot.new()
   plot.window(xlim, ylim, log =3D "", ...)


best,
Fritz

--=20
---------------------------------------------------------------------
                         Friedrich  Leisch                            =20
 Institut f=FCr Statistik                      Tel: (+43 1) 58801 4541
 Technische Universit=E4t Wien                 Fax: (+43 1)  504 14 98
 Wiedner Hauptstra=DFe 8-10/1071      Friedrich.Leisch@ci.tuwien.ac.at
 A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
      PGP public key http://www.ci.tuwien.ac.at/~leisch/pgp.key
---------------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-