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
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')
>>
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')
>>
[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:
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
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
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
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
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,
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
> "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
11 matches
Mail list logo