ligges@statistik.uni-dortmund.de
2002-Apr-03 11:09 UTC
[Rd] persp() crashes with numeric values for [x,y,z]lab (PR#1431)
Using a numeric value for the arguments xlab, ylab or zlab in persp() crashes R. Example: persp(1:2, 1:2, matrix(1:4, 2), xlab=1) Well, it is documented that "These must the character strings". BTW: I think "the" should be changed to "be" in this sentence. Nevertheless the worst case could be caught, however, e.g. by coercing numeric to character. Uwe Ligges R-1.4.1 (on WinNT4 + Solaris 5.7) and platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Under development (unstable) major 1 minor 5.0 year 2002 month 04 day 02 language R -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._