Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-10 Thread Kasper Daniel Hansen
Thank you Simon, a little comment below On May 9, 2006, at 2:49 PM, Simon Urbanek wrote: > On May 9, 2006, at 1:11 PM, Kasper Daniel Hansen wrote: > >> It is indeed the case that after updating to GCC 4 the package >> gets broken using -O2. I agree this needs to be fixed, but the error >> [...

Re: [Rd] What is callGeneric used for?

2006-05-10 Thread Gabor Grothendieck
In the case of arithmetic methods you might not know or care whether the generic is, say, + or -. On 5/10/06, Seth Falcon <[EMAIL PROTECTED]> wrote: > I've recently come across two pieces of code using calls to > callGeneric() inside the definition of a method. > > In both cases, it appears to me

[Rd] S4 initialize methods, unexpected recursive callNextMethod

2006-05-10 Thread Seth Falcon
Hi, Given a simple three class hierarchy: A <-- B <-- C I want to define an initialize method for each class such that when I call new("C", x=5), the initialize methods for A and B are used to incrementally build the object. When I do what seems obvious to me using callNextMethod, I get an infin

Re: [Rd] 2.3.0 make install fails on solaris

2006-05-10 Thread Peter Dalgaard
Darin Perusich <[EMAIL PROTECTED]> writes: > hello r development team, > > i'm building R 2.3.0 on solaris and when i run the 'make install' i'm > getting a syntax error during the "installing etc ..." which causes the > installation to fail. i get this error whether i use gnu-make of > sun-ma

Re: [Rd] RFC: log='z' for image, contour, persp?

2006-05-10 Thread Don MacQueen
Yes, it does. I've needed it more often than not. -Don At 6:41 PM -0400 5/9/06, Duncan Murdoch wrote: >I've been thinking of adding the possibility of including "z" among the >axes to be logged in image, contour, and persp. In the first two, it >would only affect where the breaks were set if they

[Rd] 2.3.0 make install fails on solaris

2006-05-10 Thread Darin Perusich
hello r development team, i'm building R 2.3.0 on solaris and when i run the 'make install' i'm getting a syntax error during the "installing etc ..." which causes the installation to fail. i get this error whether i use gnu-make of sun-make, see the error and reasons below. gmake[1]: Entering

[Rd] Allowed quasibinomial links (PR#8851)

2006-05-10 Thread henric . nilsson
Full_Name: Henric Nilsson Version: 2.3.0 Patched (2006-05-09 r38014) OS: Windows 2000 SP4 Submission from: (NULL) (83.253.9.137) When supplying an unavailable link to `quasibinomial', the error message looks strange. E.g. > quasibinomial("x") Error in quasibinomial("x") : 'x' link not available f

[Rd] What is callGeneric used for?

2006-05-10 Thread Seth Falcon
I've recently come across two pieces of code using calls to callGeneric() inside the definition of a method. In both cases, it appears to me that the callGeneric call could be replaced with a "real" call to the generic, say foo(x) instead of callGeneric(x) inside method foo. My understanding from

[Rd] Mere chat on vectorisation matters

2006-05-10 Thread François Pinard
Hi, people. Allow me to chat a tiny bit on two vectorisation-related matters, in the context of R. I'm curious about if the following ideas have ever been considered, and rejected already. First is about using the so-called Duff's device for partially unrolling loops. I did not overly check

Re: [Rd] Warning: use of NULL environment is deprecated (in R CMD check)

2006-05-10 Thread hadley wickham
> I don't get any other warnings or errors. Can anyone suggest what the > problem might be? (R2.3.0, OS X) For reference: the problem was caused by having dependent packages that been installed prior to R 2.3.0. Hadley __ R-devel@r-project.org mailing

[Rd] array dimname argument (was Re: YA S4 method dispatch question)

2006-05-10 Thread Paul Roebuck
On Tue, 9 May 2006, Martin Morgan wrote: > You won't like this ...;) > > return(drop(callGeneric(array(x, > c(1, length(x)), > val) > ))) > > i.e., 'val' is inside 'array'! > > I was discouraged from answering soon

Re: [Rd] Warning: use of NULL environment is deprecated (in R CMD check)

2006-05-10 Thread Duncan Murdoch
On 5/10/2006 5:58 AM, hadley wickham wrote: > * checking S3 generic/method consistency ... WARNING > Warning: use of NULL environment is deprecated > Warning: use of NULL environment is deprecated > See section 'Generic functions and methods' of the 'Writing R Extensions' > manual. > > I don't get

Re: [Rd] RFC: log='z' for image, contour, persp?

2006-05-10 Thread Duncan Murdoch
On 5/10/2006 4:23 AM, Martin Maechler wrote: >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Tue, 09 May 2006 18:41:09 -0400 writes: > > Duncan> I've been thinking of adding the possibility of > Duncan> including "z" among the axes to be logged in image, > Duncan> c

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-10 Thread Hin-Tak Leung
Kasper Daniel Hansen wrote: > It is indeed the case that after updating to GCC 4 the package gets > broken using -O2. I agree this needs to be fixed, but the error (which I > believe I have kind of localized, but not really understood) stems from > a C++ library we have little control over, so

[Rd] Warning: use of NULL environment is deprecated (in R CMD check)

2006-05-10 Thread hadley wickham
* checking S3 generic/method consistency ... WARNING Warning: use of NULL environment is deprecated Warning: use of NULL environment is deprecated See section 'Generic functions and methods' of the 'Writing R Extensions' manual. I don't get any other warnings or errors. Can anyone suggest what th

[Rd] Typo in getAllMethods() (PR#8848)

2006-05-10 Thread Robert . McGehee
This is a multi-part message in MIME format. --_=_NextPart_001_01C67389.C6480D9F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The function getAllMethods in the methods package uses the non-existent function packageName where I believe the fu

Re: [Rd] RFC: log='z' for image, contour, persp?

2006-05-10 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Tue, 09 May 2006 18:41:09 -0400 writes: Duncan> I've been thinking of adding the possibility of Duncan> including "z" among the axes to be logged in image, Duncan> contour, and persp. In the first two, it would only

Re: [Rd] R, Rcmdr crash on WinXP PRO laptop (PR#8583)

2006-05-10 Thread Shawn Mikula
I had this same issue with Rgui crashing on Windows XP Pro (probably due to conflicting graphics card versions) and solved the problem by disabling NVIDEA GeForce4 in Computer Management: Device Manager: Display Adapters. - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROT