From ripley at stats.ox.ac.uk  Thu Dec 11 07:14:53 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu Dec 11 07:13:39 2003
Subject: (PR#5682) Re: [Rd] Error in lm.wfit(x, y, w, offset = offset,
	singular.ok = singular.ok, : (PR#5682)
In-Reply-To: <20031210220303.CEA43FC07@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0312110611570.27343-100000@gannet.stats>

Please read the R FAQ on how to report a bug.

1) R-bugs is not the forum to ask questions

2) There is nothing here we can reproduce.  That example works for others.

3) There is no version information provided.

On Wed, 10 Dec 2003 colestephen@msn.com wrote:

> I have encountered the following problem while doing "Appendix A A simple session" p.84 in The Intro to R :
> 
> > fm1 <- lm(y ~ x, data=dummy, weight=1/w^2)
> Error in lm.wfit(x, y, w, offset = offset, singular.ok = singular.ok,  : 
>         NA/NaN/Inf in foreign function call (arg 1)
> 
> What seem to be the problem?

User error?

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


(PR#5682) Re: [Rd] Error in lm.wfit(x, y, w, offset = offset, singular.ok = singular.ok, : (PR#5682)
Prof Brian Ripley