Re: [Rd] Automatic shortening of text to fit into area

2009-01-24 Thread Prof Brian Ripley
Almost all devices do support clipping, so this is rather a minority interest. The person who AFAIK worte that comment and designed the clipping in the engine is Paul Murrell. He has been on summer vacation, but it looks like he has just returned. I suggest contacting him directly if he do

[Rd] Automatic shortening of text to fit into area

2009-01-24 Thread Sebastian Fischmeister
Hello, A comment in engine.c states: "/* don't draw anything; this could be made less crude :) */". The following patch makes it less crude: If the device doesn't support clipping and the text doesn't fit into the area, then remove one character after another from the text until either

Re: [Rd] Warning for dropped text with devices that don't support clipping (in text attachments)

2009-01-24 Thread Gabor Grothendieck
On Sat, Jan 24, 2009 at 9:45 PM, Sebastian Fischmeister wrote: > Apparently, the mail program doesn't like attachments. Here's the patch and > the script again. The attachment does appear to have made to the archives: https://stat.ethz.ch/pipermail/r-devel/2009-January/051917.html

Re: [Rd] Warning for dropped text with devices that don't support clipping (in text attachments)

2009-01-24 Thread Sebastian Fischmeister
Hello, Apparently, the mail program doesn't like attachments. Here's the patch and the script again. Sebastian --- R Script --- xfig (file = "test .fig",onefile=TRUE,width=6,height=4,textspecial=TRUE,defaultfont=TRUE) barplot(seq(.8,0,-0.15)) legend("topright",legend=c("12345

[Rd] Warning for dropped text with devices that don't support clipping

2009-01-24 Thread Sebastian Fischmeister
Hello, Without feedback, it's hard to understand why text does not show up in the output—especially, if it shows up on one device but not on another. I suggest adding a warning message when text gets ignored, because the device doesn't support clipping (see the attached patch). Unfortun

Re: [Rd] overwriting '<-' and infinite recursions

2009-01-24 Thread Yi Zhang
On Fri, Jan 23, 2009 at 5:28 PM, wrote: > On Fri, 23 Jan 2009, Yi Zhang wrote: > >> Thanks, Luke. I would certainly be very happy to see any non-intrusive >> solution. The problem I'm dealing with is: I'm creating a new class >> which references some external resource (file or database) and I wan

[Rd] FW: [R] The Quality & Accuracy of R

2009-01-24 Thread Muenchen, Robert A (Bob)
Dear R Developers, This is my first time subscribing to this list, so let me start out by saying thank you all very much for the incredible contribution you have made to science through your work on R. As you all know many users of commercial stat packages, their managers, directors, CIOs etc

Re: [Rd] Possible Bug in file.show (PR#13469)

2009-01-24 Thread Duncan Murdoch
On 23/01/2009 2:45 PM, wolfgang.kol...@wu-wien.ac.at wrote: Dear R-developers, Bug Report: R 2.8.1, i386-pc-mingw32 When I want to display two existing files using the command file.show(c("A.txt", "B.txt")) or file.show("A.txt", "B.txt") the same file ('A.txt') is displayed twice, instead

Re: [Rd] Possible Bug in file.show (PR#13469)

2009-01-24 Thread Duncan Murdoch
On 23/01/2009 2:45 PM, wolfgang.kol...@wu-wien.ac.at wrote: Dear R-developers, Bug Report: R 2.8.1, i386-pc-mingw32 When I want to display two existing files using the command file.show(c("A.txt", "B.txt")) or file.show("A.txt", "B.txt") the same file ('A.txt') is displayed twice, instead

[Rd] Possible Bug in file.show (PR#13469)

2009-01-24 Thread wolfgang . koller
Dear R-developers, Bug Report: R 2.8.1, i386-pc-mingw32 When I want to display two existing files using the command file.show(c("A.txt", "B.txt")) or file.show("A.txt", "B.txt") the same file ('A.txt') is displayed twice, instead of displaying two different files. With R 2.6.1 the same cod