Re: [R] cat(), Rgui, and support for carriage return \r...

2006-03-18 Thread Martin Sandiford
\r with cat performs a carriage return and line feed in R-GUI. for (i in 1:10) { cat(\rFoo,i) } Foo 1 Foo 2 Foo 3 Foo 4 Foo 5 Foo 6 Foo 7 Foo 8 Foo 9 Foo 10 _ Performs a carriage return only on the console. for (i in 1:10) { cat(\rFoo,i) } Foo 10 _ Cheers, Martin On 18/03/2006, at

Re: [R] How to get correct proportions/bounding box for latex figure?

2006-03-15 Thread Martin Sandiford
Does this do what you want? library(lattice) rand1 - rnorm(50) rand2 - rnorm(50) theplot - xyplot(rand1 ~ rand2, xlab=x axis, ylab=y axis) thefile - plotproblem.eps trellis.device(postscript, file=thefile, color=F, horizontal=FALSE, width=12, height=4, paper=special) print(theplot,

Re: [R] Remove gray grid from levelplot

2006-03-06 Thread Martin Sandiford
to fix that. It would not matter if the plots via the quartz device (on the screen) would be bad as long as the postscript file comes out perfect. Thanks again and any more comments/hints are appreciated marius On 05.03.2006, at 13:19, Martin Sandiford wrote: I don't know what kind

Re: [R] Remove gray grid from levelplot

2006-03-06 Thread Martin Sandiford
On 06/03/2006, at 10:40 PM, Prof Brian Ripley wrote: On Mon, 6 Mar 2006, Martin Sandiford wrote: [...] P.S. To me, the png() device does not appear to do sub-pixel rendering. The postscript() and pdf() devices do. What could you possibly mean by that? The postscript() and pdf

Re: [R] Remove gray grid from levelplot

2006-03-05 Thread Martin Sandiford
I don't know what kind of computer you are using. If you are on a Mac, then this might be relevant: https://stat.ethz.ch/pipermail/r-sig-mac/2006-February/002679.html (Need to click through to the actual message.) Martin On 05/03/2006, at 2:52 AM, Jan Marius Hofert wrote: Hi, If I use the