Re: [Rd] Possible bug in heatmap()?

2020-06-21 Thread Kurt Hornik
> Viechtbauer, Wolfgang (SP) writes: Should be fixed now. Best -k > Dear All, > There might be a bug in heatmap(): > x <- matrix(rnorm(10*5), 10, 5) > heatmap(x, labCol=1:5) > Error in axis(1, 1L:nc, labels = labCol, las = 2, line = -0.5, tick = 0, : > 'at' and 'labels' lengths

[Rd] Possible bug in heatmap()?

2020-06-21 Thread Viechtbauer, Wolfgang (SP)
Dear All, There might be a bug in heatmap(): x <- matrix(rnorm(10*5), 10, 5) heatmap(x, labCol=1:5) Error in axis(1, 1L:nc, labels = labCol, las = 2, line = -0.5, tick = 0, : 'at' and 'labels' lengths differ, 5 != 10 Works fine under 4.0.1. Looking at the code from 4.0.1 vs. Rdevel, esp.