[R] precision in operations

Jason Turner jasont at indigoindustrial.co.nz
Fri Nov 7 11:40:19 CET 2003


javier garcia - CEBAS wrote:

> Hi all;
> could you remind me what is the function to change the precision of the 
> operations done in R? I can't remember nor find it.
> 

There isn't one.  R does all its calculations with system defined 
double-precision or integers (on most platforms where R is used, these 
are both 32 bits).  See help(is.single)

Are you thinking of format(...,digits=n) ?  This only affects display 
(i.e. printing).

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz




More information about the R-help mailing list