Marc Vinyes
2009-Mar-03 17:20 UTC
[R] modifying a built in function from the stats package (fixing arima)
Dear members of the list, I''m a beginner in R and I''m having some trouble with: "Error in optim(init[mask], armafn, method = "BFGS", hessian = TRUE, control optim.control, : non-finite finite-difference value [8]" when running "arima". I''ve seen that some people have come accross the same problem: https://stat.ethz.ch/pipermail/r-help/2008-August/169660.html So I''d like to modify the code of arima to change the optimization function with another one that handles these problems automatically , however I don''t find the way to do it and http://tolstoy.newcastle.edu.au/R/e6/help/09/01/2476.html points out a way that doesn''t work for me: * If I type edit(arima) and I modify it, changes are not saved, * If I copy the code and I save it like a different function, I get the hard error: "Error in Delta %+% c(1, -1) : object "R_TSconv" not found" Anybody can give me a hint? I miss matlab''s easy way of doing this ("edit function.m"). Thanks in advance MarC (AleaSoft) [[alternative HTML version deleted]]
Rolf Turner
2009-Mar-05 19:29 UTC
[R] modifying a built in function from the stats package (fixing arima)
On 5/03/2009, at 10:00 PM, Marc Anonym wrote:> It is quite exagerated that I have to build R in order to modify an > R file > without messing with dlls, and I think it would be interesting to > make this > process easier, but for now I'm happy to be productive again.There is probably (almost surely?) an easier way, but I'm too much of a naif to know about it. cheers, Rolf ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
Apparently Analagous Threads
- modifying a built in function from the stats package (fixing arima)
- modifying a built in function from the stats package (fixing arima)
- modifying a built in function from the stats package (fixing arima)
- arima, xreg, and the armax model
- modifying a built in function from the stats package (fixing arima) (CONCLUSIONS)