Re: [Rd] interrupting Sweave leaves open sink connection

2013-10-22 Thread Duncan Murdoch
On 13-10-22 9:45 PM, Michael Sumner wrote: Hello, if I interrupt Sweave while it's processing a file it seemingly leaves an open sink connection that hides printed output. Can this be changed to reset the sink on exit? I've been baffled by this for years. This is seen in Windows (R Under devel

[Rd] interrupting Sweave leaves open sink connection

2013-10-22 Thread Michael Sumner
Hello, if I interrupt Sweave while it's processing a file it seemingly leaves an open sink connection that hides printed output. Can this be changed to reset the sink on exit? I've been baffled by this for years. This is seen in Windows (R Under development (unstable) (2013-10-20 r64082)) and a

Re: [Rd] Set operation generics

2013-10-22 Thread Hervé Pagès
Hi Hadley, On 10/22/2013 07:54 AM, Hadley Wickham wrote: Would anyone be interested in reviewing a patch to make the set operations (union, intersect, setdiff, setequal, is.element) generic? S3 generics, S4 generics, or primitives? I would expect S3. Can you even have an S4 generic in the ba

Re: [Rd] png(type='cairo'): point symbols without boarders are not anti-aliased?

2013-10-22 Thread Yihui Xie
Thanks for the hints! I was originally wondering the difference between grDevices::png(type='cairo') and Cairo::CairoPNG() for the case pch=16, a solid point without border. Cairo does a nice job for such point symbols, but png() renders them very poorly. Regards, Yihui -- Yihui Xie Web: http://y

Re: [Rd] Set operation generics

2013-10-22 Thread Hadley Wickham
>> Would anyone be interested in reviewing a patch to make the set >> operations (union, intersect, setdiff, setequal, is.element) generic? > > S3 generics, S4 generics, or primitives? I would expect S3. Can you even have an S4 generic in the base package? (i.e. before the methods package is loade

Re: [Rd] png(type='cairo'): point symbols without boarders are not anti-aliased?

2013-10-22 Thread Simon Urbanek
On Oct 21, 2013, at 9:07 PM, Yihui Xie wrote: > Perhaps yes. Sorry I did not check the bug reports. Can someone > elaborate on the "undesirable artefacts"? I made two heatmaps using > png() and CairoPNG(), respectively. I can see the difference, but it > is not very clear to me what the artefacts