[R] [help] reduce the bit depth of a png file

2015-01-21 Thread Vera Thiemig
Dear all, I would like to reduce the bit depth of a png file from originally 24 to 8 (with the main intention to decrease the file size). With the ordinary png(.) command it seems to be not possible. So, I created first the png file and then re-wrote it with writePNG of the png package (htt

[R] Bug or misunderstanding of par(pin)?

2012-09-25 Thread Vera Thiemig
Dear all, I am currently trying to create a plot showing multiple single plots, for which the important issue is that the size of each plot region (not figure region!) has to be of a fixed dimension (in my case: width=1 inch, height= 0.87 inches). I tried to use "pin" to fix the plotting region t