[Rd] virtual superclasses

2012-05-29 Thread Bart
Dear List, I'm exploring the use of class inheritance for a package were developing. I want to try to build on existing a class, i first want to extend this a bit using a virtual class and then extend this virtual class in multiple other classes. This would be similar to bar3 in the example b

Re: [Rd] Out of date instructions to build R using MKL

2012-05-29 Thread Elliott Forney
Yes, these instructions are no longer valid as there has been some reorganization of the mkl libraries. The path /opt/intel/mkl/10.0.3.020/lib/em64t/ is now /opt/intel/mkl/lib/intel64. Also, the only libraries that need to be included are: -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core The trick to

Re: [Rd] Slow do.call when having an error

2012-05-29 Thread Prof Brian Ripley
On 29/05/2012 09:57, Alon Wasserman wrote: Hi, We've encountered a difference in running time between a straight function call and the same call using do.call when the called function generated an error. We've isolated the problem to the following small reproducible example: Consider the followi

[Rd] Slow do.call when having an error

2012-05-29 Thread Alon Wasserman
Hi, We've encountered a difference in running time between a straight function call and the same call using do.call when the called function generated an error. We've isolated the problem to the following small reproducible example: Consider the following function: foo <- function(nr = 2e6, nc=3,