Re: [Rd] S4 extends a class, but .Data slot has different class

2005-04-18 Thread John Chambers
[EMAIL PROTECTED] wrote: When I define an S4 class ("B" in the example below) that directly extends another ("A" in the example below) , which in turn directly extends another ("character" in the example below), I find that the slot does not have the class I specified in setClass(), it has the unde

Re: [Rd] Why no BIC.default function?

2005-04-18 Thread kwright
> R does not have a BIC S3 generic function: it is in package nlme! > (There is one for S4 classes in package stats4.) Sorry, I should have noticed that. Maybe my question should have been: Since the stats package has generics for logLik and AIC, could it include a generic for BIC? Kevin Wright

Re: [Rd] Why no BIC.default function?

2005-04-18 Thread Douglas Bates
[EMAIL PROTECTED] wrote: I'm using R 2.0.1. I looked in the email archives but didn't see anything on this topic. I've noticed a surprising (to me) difference between AIC and BIC: methods("AIC") [1] AIC.default* AIC.logLik* methods("BIC") [1] BIC.gls*BIC.lm* BIC.lme*BIC.lmList* BIC.lo

Re: [Rd] Why no BIC.default function?

2005-04-18 Thread Prof Brian Ripley
R does not have a BIC S3 generic function: it is in package nlme! (There is one for S4 classes in package stats4.) So this is a question for the nlme maintainer. On Mon, 18 Apr 2005 [EMAIL PROTECTED] wrote: I'm using R 2.0.1. I looked in the email archives but didn't see anything on this topic. I'v

[Rd] Why no BIC.default function?

2005-04-18 Thread kwright
I'm using R 2.0.1. I looked in the email archives but didn't see anything on this topic. I've noticed a surprising (to me) difference between AIC and BIC: > methods("AIC") [1] AIC.default* AIC.logLik* > methods("BIC") [1] BIC.gls*BIC.lm* BIC.lme*BIC.lmList* BIC.logLik* BIC.nls* Th

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Prof Brian Ripley
On Mon, 18 Apr 2005, Peter Dalgaard wrote: Martin Maechler <[EMAIL PROTECTED]> writes: BDR> We could do better by insisting that "." was the decimal BDR> point in all interval conversions _to_ numeric. Then the BDR> effect of setting LC_NUMERIC would primarily be on BDR> conversions

Re: [Rd] Poblem while build a package (PR#7798)

2005-04-18 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: Full_Name: Justin Bem Version: 1.9.1 OS: Windows XP Home Submission from: (NULL) (196.202.235.48) I am a R new user ! I have writed procedure that i wantto transform as a package but with RCMD build packageName [...] I have 'sh' is not a recognized command in the dos promp

[Rd] Poblem while build a package (PR#7798)

2005-04-18 Thread justin . bem
Full_Name: Justin Bem Version: 1.9.1 OS: Windows XP Home Submission from: (NULL) (196.202.235.48) I am a R new user ! I have writed procedure that i wantto transform as a package but with RCMD build packageName [...] I have 'sh' is not a recognized command in the dos promp I have Active Perl 5.

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Peter Dalgaard
Martin Maechler <[EMAIL PROTECTED]> writes: > BDR> We could do better by insisting that "." was the decimal > BDR> point in all interval conversions _to_ numeric. Then the > BDR> effect of setting LC_NUMERIC would primarily be on > BDR> conversions _from_ numeric, especially printi

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Sun, 17 Apr 2005 12:38:10 +0100 (BST) writes: BDR> These are some points stimulated by reading about C history (and BDR> related in their implementation). <.> BDR> 2) R does not have integer constants. It wo

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Mon, 18 Apr 2005 03:33:42 -0400 (EDT) writes: >> On Sun, 17 Apr 2005, Jan T. Kim wrote: >> >>> On Sun, Apr 17, 2005 at 12:38:10PM +0100, Prof Brian Ripley wrote: These are some points stimulated by reading abou

Re: [Rd] RE: A 'true' R-wrapper for C++ classes

2005-04-18 Thread Duncan Murdoch
> Sorry about the mistake in the previous post, here is the corrected > version: And I've just added responses to part of it: > (3) The above model lacks something like an 'environment' for the pointer > to > the C++ object to live in it. Assume we create the foo class in R like: > > obj <- fo

Re: [Rd] citation() chops "Roeland " (PR#7797)

2005-04-18 Thread Friedrich . Leisch
> On 18 Apr 2005 11:18:03 +0200, > Peter Dalgaard (PD) wrote: > [EMAIL PROTECTED] writes: >> Full_Name: Jari Oksanen >> Version: 2.0.1, 2.1.0 beta (2005-04-17) >> OS: Linux >> Submission from: (NULL) (130.231.102.145) >> >> >> If name ends with "and", such as "Roeland Las

Re: [Rd] citation() chops "Roeland " (PR#7797)

2005-04-18 Thread Friedrich . Leisch
> On 18 Apr 2005 11:18:03 +0200, > Peter Dalgaard (PD) wrote: > [EMAIL PROTECTED] writes: >> Full_Name: Jari Oksanen >> Version: 2.0.1, 2.1.0 beta (2005-04-17) >> OS: Linux >> Submission from: (NULL) (130.231.102.145) >> >> >> If name ends with "and", such as "Roeland Las

Re: [Rd] A 'true' R-wrapper for C++ classes

2005-04-18 Thread Prof Brian Ripley
On Mon, 18 Apr 2005, Ali - wrote: I am trying to wrap some C++ classes into R. (1) Comparing the OOP and methods packages, I have came to this conclusion that OOP works much better for this wrapper -- please correct me if I am wrong. One question is why this useful package (OOP) is not included i

[Rd] RE: A 'true' R-wrapper for C++ classes

2005-04-18 Thread Ali -
Sorry about the mistake in the previous post, here is the corrected version: Hello I am trying to wrap some C++ classes into R. (1) Comparing the OOP and methods packages, I have came to this conclusion that OOP works much better for this wrapper -- please correct me if I am wrong. One question is

Re: [Rd] citation() chops "Roeland " (PR#7797)

2005-04-18 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Jari Oksanen > Version: 2.0.1, 2.1.0 beta (2005-04-17) > OS: Linux > Submission from: (NULL) (130.231.102.145) > > > If name ends with "and", such as "Roeland Lastname", citation() will chop > "and" > as a separate word giving "Roel and Lastname". This is

Re: [Rd] A 'true' R-wrapper for C++ classes

2005-04-18 Thread Duncan Murdoch
> Hello > > I am trying to wrap some C++ classes into R. > > (1) Comparing the OOP and methods packages, I have came to this conclusion > that OOP works much better for this wrapper -- please correct me if I am > wrong. The methods package using a different conceptual model of object-oriented prog

[Rd] ESS 5.2.7 released

2005-04-18 Thread Martin Maechler
Dear ESS users, {BCC'ed to RPM and Debian maintainers of ESS} We have now released ESS 5.2.7. This is a bug fix release against 5.2.6 where - the new UTF-8 "support" gave problems for Xemacs, and - accidentally, 'auto-fill-mode' was activated for *.R buffers with a few new features, see

[Rd] citation() chops "Roeland " (PR#7797)

2005-04-18 Thread jari . oksanen
Full_Name: Jari Oksanen Version: 2.0.1, 2.1.0 beta (2005-04-17) OS: Linux Submission from: (NULL) (130.231.102.145) If name ends with "and", such as "Roeland Lastname", citation() will chop "and" as a separate word giving "Roel and Lastname". This is the case in the upcoming release of vegan (1.6

Re: [Rd] RFC: hexadecimal constants and decimal points

2005-04-18 Thread Duncan Murdoch
> On Sun, 17 Apr 2005, Jan T. Kim wrote: > >> On Sun, Apr 17, 2005 at 12:38:10PM +0100, Prof Brian Ripley wrote: >>> These are some points stimulated by reading about C history (and >>> related in their implementation). >>> >>> >>> 1) On some platforms >>> as.integer("0xA") >>> [1] 10 >>> >>>

[Rd] A 'true' R-wrapper for C++ classes

2005-04-18 Thread Ali -
Hello I am trying to wrap some C++ classes into R. (1) Comparing the OOP and methods packages, I have came to this conclusion that OOP works much better for this wrapper -- please correct me if I am wrong. One question is why this useful package (OOP) is not included in the official release of R