[Rd] Bug and fix in ? operator

2003-10-17 Thread John Chambers
In 1.8, the functional forms of "?" (?f(...) and method?f(...)) were not finding the generic function & therefore not reporting method documentation. Should be fixed in a version of r-patched committed today. -- John M. Chambers [EMAIL PROTECTED] Bell Labs, Lucent Technologies

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Paul Gilbert
Gabor Grothendieck wrote: There seem to be two opposing yet valid viewpoints to the question of doing it right vs. compatibility with S-Plus. Compatbility with older version of R is a third overlapping possible goal. There does not appear to be an overall statement of intent in R, but rather, th

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Gabor Grothendieck
There seem to be two opposing yet valid viewpoints to the question of doing it right vs. compatibility with S-Plus. Compatbility with older version of R is a third overlapping possible goal. There does not appear to be an overall statement of intent in R, but rather, this question and others a

Re: [Rd] Bus error (PR#4623)

2003-10-17 Thread Prof Brian Ripley
On Fri, 17 Oct 2003, Paul Gilbert wrote: > This is a known problem with gcc 3.2.2 (not with R, though it is > mentioned in the R documention). You need at least gcc 3.2.3 (or stick > with the gcc 2.x series) on Solaris. Once again, it is a problem only with 32-bit 3.2.1 and 3.2.2, as the R-adm

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Prof Brian Ripley
On Fri, 17 Oct 2003, Thomas Lumley wrote: > On Fri, 17 Oct 2003, Kurt Hornik wrote: > > > > Peter Dalgaard writes: > > > > > Kurt Hornik <[EMAIL PROTECTED]> writes: > > KH> Or get rid of non-standard evaluation and educate users to use quoted > > KH> strings where strings should be used. > >

Re: [Rd] Bus error (PR#4623)

2003-10-17 Thread Paul Gilbert
This is a known problem with gcc 3.2.2 (not with R, though it is mentioned in the R documention). You need at least gcc 3.2.3 (or stick with the gcc 2.x series) on Solaris. Paul Gilbert [EMAIL PROTECTED] wrote: Full_Name: Elie Saliba Version: 1.8.0 OS: Solaris 9 Submission from: (NULL) (152.15

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Thomas Lumley
On Fri, 17 Oct 2003, Kurt Hornik wrote: > > Peter Dalgaard writes: > > > Kurt Hornik <[EMAIL PROTECTED]> writes: > KH> Or get rid of non-standard evaluation and educate users to use quoted > KH> strings where strings should be used. > >> > >> > and infuriate those who know and used the S langu

[Rd] Bus error (PR#4623)

2003-10-17 Thread ehsaliba
Full_Name: Elie Saliba Version: 1.8.0 OS: Solaris 9 Submission from: (NULL) (152.15.81.169) Hello, We just compiled R 1.8.0 using gcc 3.2.2 (32 bit) without any error messages but then when we try to run it, it dumps a core when using something like plot and so on. (i.e, R>plot(rnorm(100),rnorm(

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Gordon Smyth
At 05:50 PM 17/10/2003, A.J. Rossini wrote: Kurt Hornik <[EMAIL PROTECTED]> writes: >> Definitely not worth the pain (I *know* I'd hear ... comments from >> them!)! I might be one of them. You'll hear my screams for weeks... > Actually, I do think it is worth the pain. The way I understand

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Kurt Hornik
> Peter Dalgaard writes: > Kurt Hornik <[EMAIL PROTECTED]> writes: KH> Or get rid of non-standard evaluation and educate users to use quoted KH> strings where strings should be used. >> >> > and infuriate those who know and used the S language for more than 15 >> > years, where help(help) has

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Kurt Hornik
> A J Rossini writes: > Kurt Hornik <[EMAIL PROTECTED]> writes: > >>> Definitely not worth the pain (I *know* I'd hear ... comments from >>> them!)! > I might be one of them. You'll hear my screams for weeks... [Fortunately, you're mostly in Seattle ...] >> Actually, I do think it is

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Peter Dalgaard
Kurt Hornik <[EMAIL PROTECTED]> writes: > KH> Or get rid of non-standard evaluation and educate users to use quoted > KH> strings where strings should be used. > > > and infuriate those who know and used the S language for more than 15 > > years, where help(help) has always worked? > > I would t

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread A.J. Rossini
Kurt Hornik <[EMAIL PROTECTED]> writes: >> Definitely not worth the pain (I *know* I'd hear ... comments from >> them!)! I might be one of them. You'll hear my screams for weeks... > Actually, I do think it is worth the pain. The way I understand it, we > have a strategic decision to gra

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Kurt Hornik
> Martin Maechler writes: > "KH" == Kurt Hornik <[EMAIL PROTECTED]> > on Fri, 17 Oct 2003 09:04:40 +0200 writes: > Peter Dalgaard writes: >>> David James <[EMAIL PROTECTED]> writes: Calls of the form data(package = pkg) inside a function incorrectly fail ("pkg" is a

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Martin Maechler
> "KH" == Kurt Hornik <[EMAIL PROTECTED]> > on Fri, 17 Oct 2003 09:04:40 +0200 writes: > Peter Dalgaard writes: >> David James <[EMAIL PROTECTED]> writes: >>> Calls of the form data(package = pkg) inside a function >>> incorrectly fail ("pkg" is a local variable). For

Re: [Rd] data() misbehaving inside a function

2003-10-17 Thread Kurt Hornik
> Peter Dalgaard writes: > David James <[EMAIL PROTECTED]> writes: >> Calls of the form data(package = pkg) inside a function >> incorrectly fail ("pkg" is a local variable). For instance, >> >> foo <- function(pkg) data(package = pkg) >> foo("base") >> Error in .find.package(package, lib.l