Re: [Rd] adding a built-in drop.levels option for subset() in 2.12 ?

2010-08-15 Thread Peter Dalgaard
Ben Bolker wrote: > With the approach of R 2.12.0: > > with mild apologies for re-opening this perennial issue: > is there any hope, if appropriate patches are submitted, of adding a > drop.levels argument (with default equal to FALSE to preserve backward > compatibility/efficiency) to the sub

[Rd] parent.frame(1) of a S4 method is not a calling environment.

2010-08-15 Thread Vitaly S.
Dear Developers, I wonder what are the parent.frame rules for methods. For ordinary functions one can call parent.frame() and be sure that it is the environment of a calling function. With S4 aparently it is not the case. Here is what I have discovered by trial and error so far: > setClass("A",

[Rd] Disable interaction in R to use with Rserve

2010-08-15 Thread Jeroen Ooms
Is there a way to disable interactive behavior in R (?interactive), but without it affecting the default error handling and reporting? This would be needed to use Rserve without any interruption. The problem is that the Rserve expects every eval either to return or return an error. The connection g

[Rd] adding a built-in drop.levels option for subset() in 2.12 ?

2010-08-15 Thread Ben Bolker
With the approach of R 2.12.0: with mild apologies for re-opening this perennial issue: is there any hope, if appropriate patches are submitted, of adding a drop.levels argument (with default equal to FALSE to preserve backward compatibility/efficiency) to the subset function ... ? If not,