Skip to content
Prev 6966 / 63468 Next

pi returns 0.7 (PR#1320)

What is `MS2000'?  bug.report() cannot possibly generate that under
Windows, so I presume this is some sort of Windows clone.

You know, people do spend a lot of time carefully checking ports of R
against known results.  Did you really believe that the official R port
for Windows produced pi = 0.7 on an uncorrupted operating system?

Three possibilities occur to me:

1) You have defined an object called pi somewhere in your search path.

2) The base R code has been corrupted (it contains pi <- 4*atan(1), BTW)

3) Your OS has corrupted components and so is computing atan incorrectly.

Try 4*atan(1).  If that is incorrect, re-install your OS. If it is
correct, try re-installing R (which in any case you want to do as 1.4.1 is
current).
On Thu, 21 Feb 2002 jblewis@ucla.edu wrote:

            
An example of what?