On Thu, Jul 25, 2002 at 11:40:57AM +0200, Ingo Kruck wrote:> I am trying to write the R-computed parameters of an ARIMA process into a > file.sink(), perhaps?> sink(file="test.txt") > print(result) > sink() > system("cat test.txt")Call: arima(x = zz, order = c(1, 0, 1)) Coefficients: ar1 ma1 intercept -0.8421 0.8969 0.0680 s.e. 0.1540 0.1253 0.0843 sigma^2 estimated as 0.663: log likelihood = -120.16, aic = 248.32 Cheers Jason -- Indigo Industrial Controls Ltd. 64-21-343-545 jasont at indigoindustrial.co.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello, I am trying to write the R-computed parameters of an ARIMA process into a file. But I am not able to. I tried the following syntax (ts is my time series): . .> result <- arima(ts, c(1,0,1)) > write(result, file="test.txt")(and the following error occurred:) Error in cat(list(...), file, sep, fill, labels, append) : argument 1 not yet handled by cat How can I manage this?? Thanks, Ingo -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._