[Rd] image(): wrong comment in error message (PR#9707)

From: <rene.locher_at_zhwin.ch>
Date: Thu, 24 May 2007 13:08:41 +0200 (CEST)


Full_Name: Rene Locher
Version: R version 2.5.0 (2007-04-23)
OS: Windows XP
Submission from: (NULL) (160.85.231.54)

image(x = 1:2, y = 1:2,

      z = matrix(c(1,2,3,1,2,3), ncol=2+1),
      col = c("red","blue","green"))

results in:
Error in image.default(x = 1:2, y = 1:2, z = matrix(c(1, 2, 3, 1, 2, 3), :

        dimensions of z are not length(x)(+1) times length(y)(+1)

instead of:
Error in image.default(x = 1:2, y = 1:2, z = matrix(c(1, 2, 3, 1, 2, 3), :

	dimensions of z are not length(x)(-1) times length(y)(-1)
                                          ^                   ^

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 24 May 2007 - 16:20:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 May 2007 - 16:33:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.