Hi, Firstly, thanks for your collective help the other day with packages and the like - I now have a function that takes a few seconds to run instead of half a day... much obliged! I'm trying to print out a 300dpi PNG for inclusion in a publication (I don't want postscript because some of the figures have so many dots in photoshop starts weeping when I try to rasterize them). I see how to set the width and height of the image in pixels in the dev.print function (e.g. dev.print(png,file="f.png",width=1500,height=1500), and I can specify the size of the image itself (using par(pin=c(5,5)) - for a 5 by 5 image, for example) but doing both of these together gives me a small figure in the middle of a large image, rather than a 300dpi figure. Can anyone help? Cheers Crispin -------------------------------------------------------- This email is confidential and intended solely for the use o...{{dropped}}