As Satpal Virdee mentioned, when running the [h1_simple.R script](https://github.com/rasbt/R_snippets/tree/master/heatmaps) in newer versions of R, it produces the following: ``` Error in heatmap.2(mat_data, main = "Correlation", notecol = "black", : breaks may not contian duplicate values ```
As Satpal Virdee mentioned,
when running the h1_simple.R script in newer versions of R, it produces the following: