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

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Dec 11 07:14:53 MET 2003


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 at 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 at 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



More information about the R-devel mailing list