The R graphics is not sent to the standard output of the R process,
which you assume when you try to capture it via your Java 'input'
stream. Simple illustration:
C:\echo plot(1) | R --quiet --no-save
plot(1)
C:\
So where did the graphics go then? If you batch run R commands like
this,
Hi,
First, thank you very much for the answers...
I have used the png() function before for generate the image and then
capture its bytes.
My big problem is that my program reads the image before that its
complete by the png() function. For instance, my graphic image has
1000Kb. When R saves it
On Tue, 16 Aug 2005, Márcio de Medeiros Ribeiro wrote:
First, thank you very much for the answers...
I have used the png() function before for generate the image and then
capture its bytes.
My big problem is that my program reads the image before that its
complete by the png() function. For
Márcio de Medeiros Ribeiro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
My big problem is that my program reads the image before that its
complete by the png() function. For instance, my graphic image has
1000Kb. When R saves it into the hard disk, my Java program reads the
file
Hello!
I'm trying to get an array of bytes from graphic images generated by
R. Here, you can see my Java code:
--
Process p = Runtime.getRuntime().exec(C:/Arquivos de