[R] predict(arima)

2004-08-29 Thread Remigijus Lapinskas
Dear All, R 1.9.1, Windows When copying and pasting a few lines from the 'predict.Arima' help, I get an error message: data(lh) predict(arima(lh, order = c(3,0,0)), n.ahead = 12) Error in eval(expr, envir, enclos) : Object xreg not found On the other hand, the following is OK: data(lh)

Re: [R] predict(arima)

2004-08-29 Thread Prof Brian Ripley
Nothing is wrong with arima: those commands are part of make check, so your copy of R has been corrupted. Search for masked functions, and try starting R with --vanilla. On Sun, 29 Aug 2004, Remigijus Lapinskas wrote: Dear All, R 1.9.1, Windows When copying and pasting a few lines from