Re: [Rd] fmod() is used for %%?

2012-08-21 Thread Prof Brian Ripley
On 22/08/2012 04:08, Alexandre Aguiar wrote: Hi, Is the standard C math function fmod() used for R module operations? Could not find it in the sources. No. See src/main/arithmetic.c . -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.sta

[Rd] fmod() is used for %%?

2012-08-21 Thread Alexandre Aguiar
Hi, Is the standard C math function fmod() used for R module operations? Could not find it in the sources. Thanks. -- Alexandre -- Alexandre Santos Aguiar, MD, SCT gpg public key: mailto:gpg...@asaguiar.net signature.asc Description: This is a digitally signed message part. _

Re: [Rd] GPU Computing

2012-08-21 Thread Norm Matloff
Oops, sent to the wrong list (again), sorry. Date: Tue, 21 Aug 2012 13:54:48 -0700 From: Norm Matloff To: r-sig-...@r-project.org Subject: Re: [R-sig-hpc] GPU Computing Peter Chausse wrote: > I am looking for a function similar to mclapply() that would work with > GPU cores. I have looked at al

[Rd] GPU Computing

2012-08-21 Thread Pierre Chausse
Hi all, I am looking for a function similar to mclapply() that would work with GPU cores. I have looked at all possible packages related to GPU computing but they are mainly providing functionality for big dataset or big matrices. I use mainly mclapply to speed up simulations by running severa

[Rd] parLapply fails to detect default cluster?

2012-08-21 Thread Martin Morgan
invoking parLapply without a cluster fails to find a previously registered cluster > library(parallel) > setDefaultCluster(makePSOCKcluster(2)) > parLapply(X=1:2, fun=function(...) {}) Error in cut.default(i, breaks) : invalid number of intervals This is because in parLapply length(cl) is deter

[Rd] callNextMethod and "..." issue

2012-08-21 Thread Michael Lawrence
It seems that there is an issue when calling callNextMethod() inside a method without "..." in its formals but defined on a generic WITH "..." in its formals. Whenever that method is called with an argument that is not explicitly named in the generic formals, we get the following error: setClass("