From ripley@stats.ox.ac.uk  Fri Feb 22 07:18:44 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Fri, 22 Feb 2002 08:18:44 +0100 (MET)
Subject: [Rd] pi returns 0.7 (PR#1320) (fwd)
Message-ID: <200202220718.IAA00194@pubhealth.ku.dk>

Filing response for the record

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

---------- Forwarded message ----------
Date: Thu, 21 Feb 2002 13:45:06 -0800
From: Jeffrey Lewis <jblewis@ucla.edu>
To: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Subject: Re: [Rd] pi returns 0.7 (PR#1320)

Brian,

Didn't use bug.report().  Typed MS2000 into a web form.
This is windows 2000 factory installed on an 12 week old
Dell machine.

4*atan(1) returns the correect answer, in fact, that I have been
using for pi since I realized the problem.

It seems R is loading a previously saved workspace.  I did not think
that
I had ever ``saved'' a workspace, but it seems that I did and that
somehow
pi was assigned in that workspace.

I am somewhat surprised that R would let you redefine built-in constants
without warning.

Thank you for your kind suggestions. I apologize for wasting your time.

Jeff


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] pi returns 0.7 (PR#1320) (fwd)
ripley@stats.ox.ac.uk