Trying to implement a simple regression using biglm package for quite some time. But is feeling frustrated with errors. Please suggest any way around for this error.> formula1 <- IsBadBuy ~ RefId > for (i in chunk(car, by=1000))+ { + if (i[1]==1) + { + message("first chunk is: ", i[[1]],":",i[[2]]) + biglmfit <- bigglm(formula1 , data = car[i,,drop=FALSE]) + } + else + { + message("next chunk is: ", i[[1]],":",i[[2]]) + biglmfit <- update(biglmfit, car[i,,drop=FALSE]) + } + } first chunk is: 1:1000 Error in coef.bigqr(object$qr) : NA/NaN/Inf in foreign function call (arg 5) In addition: Warning message: In Ops.factor(y, mu) : - not meaningful for factors> traceback()11: .Fortran("regcf", as.integer(p), as.integer(p * p/2), bigQR$D, bigQR$rbar, bigQR$thetab, bigQR$tol, beta = numeric(p), nreq = as.integer(nvar), ier = integer(1), DUP = FALSE) 10: coef.bigqr(object$qr) 9: coef(object$qr) 8: coef.biglm(iwlm) 7: coef(iwlm) 6: bigglm.function(formula = formula, data = datafun, ...) 5: bigglm(formula = formula, data = datafun, ...) 4: bigglm(formula = formula, data = datafun, ...) 3: bigglm.data.frame(formula1, data = car[i, , drop = FALSE]) 2: bigglm(formula1, data = car[i, , drop = FALSE]) 1: bigglm(formula1, data = car[i, , drop = FALSE]) at #6 Warm Regards Kumar Manglam Thakur **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** [[alternative HTML version deleted]]