Re: [Rd] Installation of R_2.9.1 & readline (PR#13805)

2009-07-07 Thread Uwe Ligges
mb990...@uni-greifswald.de wrote: Full_Name: Noyb Version: 2.9.1 OS: Ubuntu 9.04 Submission from: (NULL) (141.53.34.152) Hello, when I try to install R by "./configure", I get the following message: . . . configure: error: --with-readline=yes (default) and headers/libs are not available .

Re: [Rd] Starting R Commander doesn't work (PR#13806)

2009-07-07 Thread Uwe Ligges
Peter Cowan wrote: On Mon, Jul 6, 2009 at 1:25 AM, wrote: Full_Name: Noyb Version: 2.9.1 OS: Ubuntu 9.04 Submission from: (NULL) (141.53.34.152) Hello, I installed the GUI R Commander and tried to open it out of R by Noyb, It looks like your new to R, welcome to the community. A couple

Re: [Rd] Speed up code, profiling, optimization, lapply vs. loops

2009-07-07 Thread Roger Peng
That's a good point---I've found that skipping a lot of the setup that 'glm' does and calling 'glm.fit' directly can save a lot of time. -roger On Tue, Jul 7, 2009 at 12:53 AM, Kasper Daniel Hansen wrote: > Aside from the advice from other people, you seem to be doing many glm > calls. A big part

Re: [Rd] Speed up code, profiling, optimization, lapply vs. loops

2009-07-07 Thread Thorn Thaler
Thanks for ur good advices. I've run Rprof and figured out that the bottleneck lies within the deviance function, which uses "integrate" to determine the deviance numerically. Since I'm not aware of a closed form solution for the integral \int 1/(t^k*(1-t)^l) dt, \forall k,l \in R , I've to

[Rd] Generic backsolve?

2009-07-07 Thread roger koenker
When loading the package SparseM, a "warning" is generated indicating: The following object(s) are masked from package:base : One, of three, examples is the function backsolve which is defined in SparseM as: setGeneric("backsolve", function(r, x, k = NULL, upper.tri = NULL, tran

[Rd] reg.finalizer(..., add=FALSE)?

2009-07-07 Thread Henrik Bengtsson
Is it possible to (i) clear or (ii) override already registered finalizer functions, e.g. reg.finalizer(e, f, add=FALSE) cf. on.exit(..., add=FALSE)? Currently: > env <- new.env() > reg.finalizer(env, function(...) cat("Finalizer A!\n")) NULL > reg.finalizer(env, function(...) cat("Finalizer B!\n

Re: [Rd] reg.finalizer(..., add=FALSE)?

2009-07-07 Thread Duncan Murdoch
On 07/07/2009 8:36 PM, Henrik Bengtsson wrote: Is it possible to (i) clear or (ii) override already registered finalizer functions, e.g. reg.finalizer(e, f, add=FALSE) cf. on.exit(..., add=FALSE)? No, but you can have the finalizer function call something else, and change the thing it calls.