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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.