Re: [Rd] setMethod("c") [was: setMethod("Summary")]

2006-09-06 Thread John Chambers
You missed the point of the example, which is why your own implementation didn't work. It's not the tail recursion that is important, but the recasting of max() (or of c()) to not just a standard generic, but to a recursive computation, so that methods need only be defined for a finite number

Re: [Rd] JPEG struct mismatch on Intel Macs (PR#9209)

2006-09-06 Thread Simon Urbanek
On Sep 6, 2006, at 12:34 PM, Peter Dalgaard wrote: > [EMAIL PROTECTED] writes: > >> Full_Name: Phil Spector >> Version: 2.3.1 >> OS: Mac OS X (Tiger) >> Submission from: (NULL) (128.32.135.22) >> >> >> Trying to close a jpeg() device on an Intel Mac causes the following: >> >>> jpeg('out.jpg') >>

Re: [Rd] JPEG struct mismatch on Intel Macs (PR#9209)

2006-09-06 Thread simon . urbanek
On Sep 6, 2006, at 12:34 PM, Peter Dalgaard wrote: > [EMAIL PROTECTED] writes: > >> Full_Name: Phil Spector >> Version: 2.3.1 >> OS: Mac OS X (Tiger) >> Submission from: (NULL) (128.32.135.22) >> >> >> Trying to close a jpeg() device on an Intel Mac causes the following: >> >>> jpeg('out.jpg') >>

Re: [Rd] JPEG struct mismatch on Intel Macs (PR#9209)

2006-09-06 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Phil Spector > Version: 2.3.1 > OS: Mac OS X (Tiger) > Submission from: (NULL) (128.32.135.22) > > > Trying to close a jpeg() device on an Intel Mac causes the following: > > > jpeg('out.jpg') > > plot(1:10) > > dev.off() > JPEG parameter struct mismatch:

Re: [Rd] enhancement request for labeling help windows in Windows

2006-09-06 Thread Bill Dunlap
On Tue, 5 Sep 2006, Richard M. Heiberger wrote: > I am looking at the HTML Help Workshop which I got from wherever > your website told me to get it. > > There is no documentation in the material I have. My guess is that one > of the variables in the file "c:/Program Files/HTML Help > Workshop/i

[Rd] JPEG struct mismatch on Intel Macs (PR#9209)

2006-09-06 Thread spector
Full_Name: Phil Spector Version: 2.3.1 OS: Mac OS X (Tiger) Submission from: (NULL) (128.32.135.22) Trying to close a jpeg() device on an Intel Mac causes the following: > jpeg('out.jpg') > plot(1:10) > dev.off() JPEG parameter struct mismatch: library thinks size is 372, caller expects 376 null

Re: [Rd] R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9208)

2006-09-06 Thread ripley
Works correctly for me in the Rtools directory on 2.3.1. Any more clues as to how to reproduce this? On Wed, 6 Sep 2006, [EMAIL PROTECTED] wrote: > Full_Name: Johannes Prix > Version: 2.3.1/2.3.0 not 2.1.1 > OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 > Submission from: (NUL

Re: [Rd] R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9207)

2006-09-06 Thread Prof Brian Ripley
Works correctly for me in the Rtools directory on 2.3.1. Any more clues as to how to reproduce this? On Wed, 6 Sep 2006, [EMAIL PROTECTED] wrote: > Full_Name: Johannes Prix > Version: 2.3.1/2.3.0 not 2.1.1 > OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 > Submission from: (NUL

[Rd] R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9207)

2006-09-06 Thread Johannes . Prix
Full_Name: Johannes Prix Version: 2.3.1/2.3.0 not 2.1.1 OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 Submission from: (NULL) (137.208.41.103) In a vanilla R, version 2.3.1 or version 2.3.0 the following crashes: system("gzip.exe") where I did nothing, prior to this command,

Re: [Rd] setMethod("c") [was: setMethod("Summary")]

2006-09-06 Thread Robin Hankin
Dear All thank you for your continued patience and help. The example in the Green Book is setGeneric("max", function(x, ..., na.rm=FALSE){ if(nDotArgs(...)>0){ max(c(max(x, na.rm=na.rm), max(..., na.rm=na.rm))) } else { stan

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-06 Thread Martin Maechler
> "Anil" == Anil Maliyekkel <[EMAIL PROTECTED]> > on Tue, 5 Sep 2006 22:50:30 -0500 writes: [...] [...] Anil> Going back to the original partial replacement Anil> problem, is there anyway to turn off partial matching, One way would be to use