[Rd] Default argument value for "["

2006-10-04 Thread Iago Mosqueira
Dear all, After installing R 2.4.0, a definition of "[" for an S4 class has stopped working as the default for drop in the generic, TRUE, appears to override the default in the method The method is defined for demonstration purposes as setMethod("[", signature(x="FLQuant"), function(x, i

[Rd] Status of R 2.4.0 in svn repository and R-Admin manual

2006-10-04 Thread Gavin Simpson
Dear list, I have been using and testing the alpha/betas of R 2.4.0, sources for which I got from svn.r-project.org/R/branches/R-2-4-branch, and which I compiled on my Fedora Core 5 machine. No problems there. I have just updated the source tree today and re-compiled - which also works just fine.

Re: [Rd] Status of R 2.4.0 in svn repository and R-Admin manual

2006-10-04 Thread Peter Dalgaard
Gavin Simpson <[EMAIL PROTECTED]> writes: > Dear list, > > I have been using and testing the alpha/betas of R 2.4.0, sources for > which I got from svn.r-project.org/R/branches/R-2-4-branch, and which I > compiled on my Fedora Core 5 machine. No problems there. I have just > updated the source tr

Re: [Rd] Status of R 2.4.0 in svn repository and R-Admin manual

2006-10-04 Thread Gavin Simpson
On Wed, 2006-10-04 at 15:03 +0200, Peter Dalgaard wrote: > Gavin Simpson <[EMAIL PROTECTED]> writes: > > > Dear list, > > > > I have been using and testing the alpha/betas of R 2.4.0, sources for > > which I got from svn.r-project.org/R/branches/R-2-4-branch, and which I > > compiled on my Fedora

Re: [Rd] Default argument value for "["

2006-10-04 Thread John Chambers
I think the problem in your case comes from the mechanism used to handle non-standard argument lists; notice that you have added 3 new arguments. If you look at the body of the resulting method you will see that the mechanism used to handle this (defining a function .local) fails to copy the d

Re: [Rd] Status of R 2.4.0 in svn repository and R-Admin manual

2006-10-04 Thread Peter Dalgaard
Gavin Simpson <[EMAIL PROTECTED]> writes: > On Wed, 2006-10-04 at 15:03 +0200, Peter Dalgaard wrote: > > Gavin Simpson <[EMAIL PROTECTED]> writes: > > > > > Dear list, > > > > > > I have been using and testing the alpha/betas of R 2.4.0, sources for > > > which I got from svn.r-project.org/R/bra

Re: [Rd] Bug in warning() for condition objects (PR#9274)

2006-10-04 Thread Luke Tierney
Thanks. I think your analysis is probably correct. Will look into this and fix shortly. Best, luke On Wed, 4 Oct 2006, [EMAIL PROTECTED] wrote: > Full_Name: David Hinds > Version: 2.4.0 > OS: Windows XP > Submission from: (NULL) (64.168.232.238) > > > A (maybe naive) use of tryCatch to trap e

Re: [Rd] Default argument value for "["

2006-10-04 Thread Iago Mosqueira
El mié, 04-10-2006 a las 09:52 -0400, John Chambers escribió: > I think the problem in your case comes from the mechanism used to handle > non-standard argument lists; notice that you have added 3 new > arguments. Yes, our object is always 5 dimensional. We could use (...) but it looked overly c

[Rd] exists(..., inherits) & get(..., inherits)

2006-10-04 Thread Henrik Bengtsson
Hi, are there corresponding methods to exists() and get() where one can stratify on class, e.g. exists(..., inherits) instead of exists(..., mode)? Thanks Henrik __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Compilation issue (PR#9275)

2006-10-04 Thread andrew_duba
Full_Name: Andrew J. Duba Version: 2.4.0 OS: OS X Submission from: (NULL) (128.252.95.46) I am trying to compile the newest version of R. I am using g77 version 3.4.3 and gcc 4.0. After running gnu make (version 3.8) I get the following error: Error in dyn.load(x, as.logical(local), as.logical

[Rd] update.default evaluating in wrong environment?

2006-10-04 Thread Martin C. Martin
Hi all, update.default, which is the method used to update "lm" objects (among others), extracts the "call" element from it's first argument, updates it, then evaluates it in the parent.frame(). Shouldn't it be evaluated in environment(formula(object)), if that's non-NULL? I ask because I cal

[Rd] update.default evaluating in wrong environment?

2006-10-04 Thread Martin C. Martin
Hi all, update.default, which is the method used to update "lm" objects (among others), extracts the "call" element from it's first argument, updates it, then evaluates it in the parent.frame(). Shouldn't it be evaluated in environment(formula(object)), if that's non-NULL? I ask because I call "

[Rd] Bug in stepAIC?

2006-10-04 Thread Martin C. Martin
Hi, It seems that, when I use weights during an initial least-squares regression fit, and later try to add terms using stepAIC(), it uses the weights when looking to remove terms, but not when looking to add them: hills.lm <- lm(time ~ dist + climb, data = hills, weights = 1/dist^2) small.hills

[Rd] mean relative differences from all.equal() (PR#9276)

2006-10-04 Thread bchristo
Full_Name: Brad Christoffersen Version: 2.3.1 OS: Windows XP Submission from: (NULL) (128.196.193.132) Why is the difference between two numbers so different from the "mean relative difference" output from the all.equal() function? Is this an artifact of the way R stores numerics? I could not f

Re: [Rd] mean relative differences from all.equal() (PR#9276)

2006-10-04 Thread MSchwartz
On Thu, 2006-10-05 at 03:10 +0200, [EMAIL PROTECTED] wrote: > Full_Name: Brad Christoffersen > Version: 2.3.1 > OS: Windows XP > Submission from: (NULL) (128.196.193.132) > > > Why is the difference between two numbers so different from the "mean relative > difference" output from the all.equal()

[Rd] Last R-devel snapshot is an empty tarball

2006-10-04 Thread Herve Pages
Dear list, The last R-devel snapshot (2006-10-03) is an empty tarball: ftp://ftp.stat.math.ethz.ch/Software/R/ Thanks, H. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-04 Thread murdoch
I've tracked down where this is occurring, but I don't know how to fix it. Here's a summary: If the language in Windows is set to simplified Chinese (i.e. Chinese (PRC)) and message translations are installed, then on startup Rgui crashes when it tries to install the console popup menu. The c

Re: [Rd] mean relative differences from all.equal() (PR#9276)

2006-10-04 Thread MSchwartz
On Wed, 2006-10-04 at 20:22 -0500, Marc Schwartz wrote: > On Thu, 2006-10-05 at 03:10 +0200, [EMAIL PROTECTED] wrote: > > Full_Name: Brad Christoffersen > > Version: 2.3.1 > > OS: Windows XP > > Submission from: (NULL) (128.196.193.132) > > > > > > Why is the difference between two numbers so dif

Re: [Rd] mean relative differences from all.equal() (PR#9276)

2006-10-04 Thread Marc Schwartz
On Wed, 2006-10-04 at 21:57 -0500, Marc Schwartz wrote: > On Wed, 2006-10-04 at 20:22 -0500, Marc Schwartz wrote: > > On Thu, 2006-10-05 at 03:10 +0200, [EMAIL PROTECTED] wrote: > > > Full_Name: Brad Christoffersen > > > Version: 2.3.1 > > > OS: Windows XP > > > Submission from: (NULL) (128.196.193