I have a 1000*1000 matrix (which only includes integer 0 and 1), but when I tried to make a heatmap, an error occurs because it is too large.
How can I create a heat
try the raster package, it can handle huge raster file.