Re: [R] converting a vector of bytes to a PNG/JPEG image

2009-11-19 Thread Uwe Ligges
Can't be too hard to convert it in pixmap representation, but you need to tell us hoe the representation looks like, probbaly with a short code that makes it reproducible (e.g. generate some data that we can use in R). Uwe Ligges Rajarshi Guha wrote: Hi, I have some code that uses rJava. One

[R] converting a vector of bytes to a PNG/JPEG image

2009-11-18 Thread Rajarshi Guha
Hi, I have some code that uses rJava. One of the Java side methods returns a byte[] representing the bytes from a PNG image. What I'd like to do is to be able to bring up the PNG on the R side (I can bring up a Swing window to show the PNG but I want to avoid that). I have looked at the pixmap and