Thank you very much for the advice.It works that way. Soham Chakraborty -- View this message in context: http://r.789695.n4.nabble.com/order-max-specification-problem-in-the-ar-ols-function-tp4650942p4650957.html Sent from the R help mailing list archive at Nabble.com.