Re: [Rd] New version of X11, png and jpeg

2008-04-30 Thread Prof Brian Ripley
On Wed, 30 Apr 2008, Maarten Blaauw wrote: The now default Cairo results in much prettier graphs, but dense graphs such as plot(rnorm(1e4)) take considerably longer to plot than using X11(type="Xlib"). This has already been mentioned, but I was wondering if we users could expect Cairo speed inc

Re: [Rd] New version of X11, png and jpeg

2008-04-30 Thread Michael Lawrence
On Wed, Apr 30, 2008 at 10:26 AM, Maarten Blaauw <[EMAIL PROTECTED]> wrote: > > The now default Cairo results in much prettier graphs, but dense graphs > such > as plot(rnorm(1e4)) take considerably longer to plot than using > X11(type="Xlib"). This has already been mentioned, but I was wondering

Re: [Rd] New version of X11, png and jpeg

2008-04-30 Thread Maarten Blaauw
The now default Cairo results in much prettier graphs, but dense graphs such as plot(rnorm(1e4)) take considerably longer to plot than using X11(type="Xlib"). This has already been mentioned, but I was wondering if we users could expect Cairo speed increases in the near future? >Slower under some

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Prof Brian Ripley
On Tue, 26 Feb 2008, Michael Lawrence wrote: > On Tue, Feb 26, 2008 at 8:18 AM, Prof Brian Ripley <[EMAIL PROTECTED]> > wrote: > >> Revision r44621 supports (in a limited way) cairo 1.0 and hence I believe >> vanilla FC5 -- I found what purports to be a vanilla FC5 box and it works >> quite well t

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Michael Lawrence
On Tue, Feb 26, 2008 at 8:18 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Revision r44621 supports (in a limited way) cairo 1.0 and hence I believe > vanilla FC5 -- I found what purports to be a vanilla FC5 box and it works > quite well there. > > Two people have reported that the svg(), cai

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Michael Lawrence
On Tue, Feb 26, 2008 at 1:00 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Michael, > > > Would it be at all feasible to make the cairo backend available on > > all platforms and have it provide a public API through which an > > arbitrary cairo context could be passed as the drawing target? >

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Prof Brian Ripley
On Tue, 26 Feb 2008, Roger D. Peng wrote: > Thanks, running r44621 works well (on my FC5 box) and I can make various > plots (I just did some limited testing). > > When I run the 'TestChars()' example in 'points' I get many warnings of the > form: > > 1: In plot.xy(xy.coords(x, y), type = type,

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Roger D. Peng
Thanks, running r44621 works well (on my FC5 box) and I can make various plots (I just did some limited testing). When I run the 'TestChars()' example in 'points' I get many warnings of the form: 1: In plot.xy(xy.coords(x, y), type = type, ...) : pch value '128' is invalid in this locale 2:

Re: [Rd] New version of X11, png and jpeg

2008-02-26 Thread Prof Brian Ripley
Revision r44621 supports (in a limited way) cairo 1.0 and hence I believe vanilla FC5 -- I found what purports to be a vanilla FC5 box and it works quite well there. Two people have reported that the svg(), cairo-pdf() and cairo-ps() devices produce blank (but not empty) files. I was able to c

Re: [Rd] New version of X11, png and jpeg

2008-02-25 Thread Prof Brian Ripley
Michael, > Would it be at all feasible to make the cairo backend available on > all platforms and have it provide a public API through which an > arbitrary cairo context could be passed as the drawing target? Offering an API is something I have considered for the TODO for 2.8.0. However, we are

Re: [Rd] New version of X11, png and jpeg

2008-02-25 Thread Michael Lawrence
On Mon, Feb 25, 2008 at 10:56 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > R-devel has new versions of the X11(), png() and jpeg() devices on > Unix-alikes. The intention is that these are used identically to the > previous versions (which remain available) but will produce higher-quality >

Re: [Rd] New version of X11, png and jpeg

2008-02-25 Thread Prof Brian Ripley
That call is from Cairo 1.2, so looks like our test FC5 box had a later version of the cairo libraries than the one pkg-config reported. You should be able to build with --without-cairo until such a time as we can add a suitable configure test. Thank you for the report. On Mon, 25 Feb 2008, Ro

Re: [Rd] New version of X11, png and jpeg

2008-02-25 Thread Roger Peng
(Apologies, I meant to 'Reply to all' the first time but forgot). I built r44608 of R-devel with (I think) cairo support. At least, that's what the configure script told me. In addition, 'capabilities("cairo")' is TRUE. Calling X11(type = "Cairo") gives me the error: Error in X11() : X11 modu

[Rd] New version of X11, png and jpeg

2008-02-25 Thread Prof Brian Ripley
R-devel has new versions of the X11(), png() and jpeg() devices on Unix-alikes. The intention is that these are used identically to the previous versions (which remain available) but will produce higher-quality output with more features. Pros: Antialiasing of text and lines (can be turned off