[R] Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

Duncan Murdoch murdoch.duncan at gmail.com
Thu Mar 10 01:06:38 CET 2011


On 11-03-09 1:05 PM, rivercode wrote:
> Hi,
>
> I am processing tick data and my code has stopped working as I have
> increased the size of data being processed.  Now I am receiving error for
> basic tasks in RConsole:
>
>> a = c(1:1000)
> Error: evaluation nested too deeply: infinite recursion /
> options(expressions=)?

I imagine you've created your own function called c, and it tries to 
call the regular one, but ends up calling itself.

Duncan Murdoch

>
> My R code worked fine with 50 stocks and 500,000 rows per stock, but when I
> increased this to 50 stocks and 5,000,000 rows per stock the code stopped
> halfway through with the above error message (Error: Evaluation nested too
> deeply.....).
>
> Now I am getting this error with simple commands in the Console, as per
> above example.
>
> Please advice where I should look to resolve this ?
>
> I am using R 2.12.1 64Bit on Windows 7 with memory max at 8Gb.
>
> Thanks,
> Chris
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-evaluation-nested-too-deeply-infinite-recursion-options-expressions-tp3344168p3344168.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list