colestephen@msn.com
2003-Dec-10 23:01 UTC
[Rd] Error in lm.wfit(x, y, w, offset = offset, singular.ok = singular.ok, : (PR#5682)
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? Yours Truly, Stephen W. Cole Deployed Solutions, Inc. 11521 Mackey St. Overland Park, Kansas 66210 colestephen@msn.com Office: 913.498.0708 Cell : 913.634.0306 [[alternative HTML version deleted]]
Prof Brian Ripley
2003-Dec-11 07:13 UTC
(PR#5682) Re: [Rd] Error in lm.wfit(x, y, w, offset = offset, singular.ok = singular.ok, : (PR#5682)
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