title: R - image of a pixel matrix?
body: <p>How would you you make an image from a matrix in R? </p>
  
  <p>Matrix values would correspond to pixel intensity on image (although I am just interested in 0,1 values white or black at the moment.), while column and row numbers correspond to vertical and horizontal location on the image.</p>
  
  <p>By make an image I mean display it on the screen and save it as a jpg.</p>