[R] help

Wacek Kusnierczyk waku at idi.ntnu.no
Wed Feb 2 16:35:58 CET 2011


On 2/2/11 3:59 AM, Łukasz Ręcławowicz wrote:
> We don't need a loop!
>
> require(Rmpfr)
> factorial(mpfr(1:500,3800))

This is very good!  I get an unexpected warning, though:

Warning message:
In if (mpfr.is.integer(x)) round(r) else r :
   the condition has length > 1 and only the first element will be used

vQ



More information about the R-help mailing list