Re: [R] Help with postscript (huge file size)

2009-04-12 Thread hadley wickham
> I'm generating some images in R to put into a document that I'm producing > using Latex. This document in Latex is following a predefined model, which > does not accept compilation with pdflatex, so I have to compile with latex > -> dvi -> pdf. Because of that, I have to generate the images in R

Re: [R] Help with postscript (huge file size)

2009-04-12 Thread Talita Perciano
Sorry about some mistakes in the code. The correct one is: > library(rimage) > image size: 458 x 372 type: rgb > laplacian_result <- normalize(laplacian(image)) > postscript("laplacian_result.eps") > plot.imagematrix(laplacian_result) > dev.off() Talita 2009/4/11 Talita Perciano > Ok... I'm

Re: [R] Help with postscript (huge file size)

2009-04-11 Thread Talita Perciano
Ok... I'm using the rimage package to manipulate an image. So, the image I have in R is of the type imagematrix, which is a matrix with the pixel values of the R, G anf B bands. What I'm doing is applying some operation (like laplacian filter for example) and plotting the result as an image: > lib

Re: [R] Help with postscript (huge file size)

2009-04-11 Thread Ben Bolker
Do you mean you're importing jpegs or other bitmaps into R and writing them out (possibly with annotation etc.) as PostScript? Can you give a small example of some sort? It would help for giving advice. Talita Perciano wrote: > Thank you for the answer. Just to clear things out, I'm gener

Re: [R] Help with postscript (huge file size)

2009-04-11 Thread Talita Perciano
Thank you for the answer. Just to clear things out, I'm generating plots of rgb images. Talita 2009/4/11 Ben Bolker > > > Talita Perciano wrote: > > > > Dear users, > > > > I'm generating some images in R to put into a document that I'm producing > > using Latex. This document in Latex is follo

Re: [R] Help with postscript (huge file size)

2009-04-11 Thread Ben Bolker
Talita Perciano wrote: > > Dear users, > > I'm generating some images in R to put into a document that I'm producing > using Latex. This document in Latex is following a predefined model, which > does not accept compilation with pdflatex, so I have to compile with latex > -> dvi -> pdf. Because

[R] Help with postscript (huge file size)

2009-04-11 Thread Talita Perciano
Dear users, I'm generating some images in R to put into a document that I'm producing using Latex. This document in Latex is following a predefined model, which does not accept compilation with pdflatex, so I have to compile with latex -> dvi -> pdf. Because of that, I have to generate the images