[R] rational and the roundoff error

Duncan Murdoch murdoch at stats.uwo.ca
Wed Mar 15 13:16:36 CET 2006

On 3/15/2006 3:21 AM, Fred J. wrote:
>   Hi
> I have a list of 12000 rational numbers as inputs, running some of R functions will surly accumulate some round-off errors,  Is there a way to have R do its calculations using rational numbers as input to minimize the round-off error?

R has no internal support for rational numbers, but several packages 
support calculations using rationals.  Try RSiteSearch('rational 

Duncan Murdoch

More information about the R-help mailing list