R can't response me, and maybe dead when calling garchFit
Instead of library(fSeires), try library(fSeries). For your information, garchFit is now in the fGarch package, if you have R-2.6.0. Hannu
On 10/19/07, ANNing-ning <nning_an at hotmail.com> wrote:
for example , when i run the following codes, R will be dead and lost
responsion
library(fSeires)
n = 1000ans = rep(0 ,n)for(i in 1:1000) { x = rnorm(1000) mod =
garchFit(~garch(1,1), data = x) ans[i] = predict(mod, n.ahead =1)[3] }
but at sometimes, if i restart my computer, and then run these codes, it
will be ok.
I guess the problem maybe due to memory limitation, but after I run
memory.limit(size = 1024*3)
that problem is still on
could someone help me ?
Thanks very much!
ANN Ning-ning
2007.10.19
_________________________________________________________________
Windows Live Spaces ????????
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
-------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20071019/bf1242ed/attachment.html