Instead of library(fSeires), try library(fSeries).<br><br>For your information, garchFit is now in the fGarch package, if you have R-2.6.0.<br><br>Hannu<br><br><div><span class="gmail_quote">On 10/19/07, <b class="gmail_sendername">
ANNing-ning</b> &lt;<a href="mailto:nning_an@hotmail.com">nning_an@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>for example , when i run the following codes, R will be dead and lost responsion<br><br>library(fSeires)<br>n = 1000ans = rep(0 ,n)for(i in 1:1000) {&nbsp;&nbsp;x = rnorm(1000)&nbsp;&nbsp;mod = garchFit(~garch(1,1), data = x)&nbsp;&nbsp;ans[i] = predict(mod, 
n.ahead =1)[3]&nbsp;&nbsp;}<br><br>but at sometimes, if i restart my computer, and then run these codes, it will be ok.<br><br>I guess the problem maybe due to memory limitation, but after I run<br><br>memory.limit(size = 1024*3)<br>
<br>that problem is still on<br><br>could someone&nbsp;&nbsp;help me ?<br><br>Thanks very much!<br><br><br>ANN Ning-ning<br><br>2007.10.19<br>_________________________________________________________________<br>Windows Live Spaces 中最年轻的成员!
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[alternative HTML version deleted]]<br><br><br>_______________________________________________<br><a href="mailto:R-SIG-Finance@stat.math.ethz.ch">R-SIG-Finance@stat.math.ethz.ch</a> mailing list<br><a href="https://stat.ethz.ch/mailman/listinfo/r-sig-finance">
https://stat.ethz.ch/mailman/listinfo/r-sig-finance</a><br>-- Subscriber-posting only.<br>-- If you want to post, subscribe first.<br></blockquote></div><br>