Displaying 20 results from an estimated 10000 matches similar to: "prevent infinite loop with recurse option enabled?"
2002 May 06
1
Prevent infinite recursion in rwrite()
Here's a resend of an old patch that is intended to avoid an infinite
recursion (ending in a stack overflow) of the rwrite() function getting
an error that calls rwrite(), ad naseum. I've only seen this happen
when one of the sides dies due to a program error -- in that case, the
connection is closed, and when we try to send an error to the other
side and it generates an error, the error
2011 Mar 09
3
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
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=)?
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
2003 Sep 28
1
infinite recursion during package installation with methods, setAs
I ran into a problem recently trying to update a package which uses S4
methods using a recent beta of R. I think I can reproduce it with a
simple example. I have package called `testpkg' in directory testpkg/.
In the R/ subdirectory of testpkg/ I have a file called testpkg.R which
contains the following two lines:
setClass("testpkg", representation(pts = "list"))
2001 Sep 04
1
evaluation is nested too deeply: infinite recursion?
I recently started using R (Version 1.3.0 on a Dell machine). After using
R for about a week, I started receiving the error message shown below.
I can't even run simple commands that I know should work.
Is this a bug or did I just mess something up? I've uninstalled and
reinstalled R but continue to receive the same errors.
The errors are shown below:
R : Copyright 2001, The R
2007 Apr 20
1
infinite recursion when printing former S4 objects
Hello all,
An S4 class that contains matrix can be converted into a matrix using
as(). When the resulting object is printed implicitly at the command
line, all is well. When print() is explicitly called, I see an
infinite recursion.
Here is an example:
## create a subclass of matrix
> setClass("Foo", representation(name="character"), contains="matrix")
2011 Aug 31
2
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Hi all,
Why I am getting,
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Thanks in advance!
func <- Vectorize(function(x, a, sad, trunc=0, ...) {
result <- function(x) {
f1 <- function(n) {
dcom <- paste("d", deparse(substitute(sad)), sep="")
dots <- c(as.name("n"), list(...))
f <-
2011 Jul 23
2
An infinite recursion error please explain!
Probability <- function(N, f, w, b, y, t, q) {
#N is the number of lymph nodes
#f is the fraction of Dendritic cells (in the correct node) that have the
antigen
#w is time in terms of hours
#b is the starting position (somewhere in the node or somewhere in the gap
between nodes. It is a number between 1 and (x+t))
#y is the number of time steps it takes to traverse the gap (8hr/y)
#t is
2008 May 22
1
tests/ok-errors.R ## bad infinite recursion
I've come across a handful of tests that
fail at our site. I consider this one the
worst because the process does not return.
The patch below simply bypasss the test,
but the errors in the out file are included
as well. I suspect this is due to more or
tighter ulimits on this system.
But I'm not sure if this is result of
different expectations (kernel/userland) of
what should be done in
2009 Oct 28
1
'R CMD check' fails with "evaluation nested too deeply: infinite recursion"
I get the error
Error : evaluation nested too deeply: infinite recursion / options(expressions=)?
during a 'R CMD check ...'
on one of my packages. The reason seems to be that this package is
mutually dependent on another one (i.e. the DESCRIPTION files of package
A lists package B under "Depends" and vice versa). this might be bad
design (having bits in both packages needed
2005 Nov 23
3
Infinite recursion in S3 methods crashes R on windows (related to PR#8203?)
Hi,
Infinite recursion in S3 methods seem to crash R on Windows 2000 (R
terminating with the ("Rgui.exe has generated errors...") message,
rather than throwing an error. This happens with both Rgui and Rterm.
The following toy example triggers this:
myf <- function(x, ...)
UseMethod("myf")
myf.default <- function(x, ...)
myf(x)
myf(1)
...R crashes...
Which I
2000 Mar 15
1
evaluation is nested too deeply: infinite recursion?
hello R-users,
I'm trying to port from S+4 a library called S2HTML.
generic function HTMLExport, when called for a lm object, uses
HTMLExport.lm which itself calls HTMLExport.list to export the summary.
My problem is that HTMLExport.list may itself call HTMLExport (and so
HTMLExport.list) for components of the lists that are lists themselves
(like "terms" component of an lm object).
2006 Jan 12
1
"infinite recursion" in do.call when lme4 loaded only
A larg program which worked with lme4/R about a year ago failed when I
re-run it today. I reproduced the problem with the program below.
-- When lme4 is not loaded, the program runs ok and fast enough
-- When lme4 is loaded (but never used), the do.call fails
with infinite recursion after 60 seconds. Memory used increases
beyond bonds in task manager.
-- I tested a few S3 based packages
2006 Jan 12
1
"infinite recursion" in do.call when lme4 loaded only
A larg program which worked with lme4/R about a year ago failed when I
re-run it today. I reproduced the problem with the program below.
-- When lme4 is not loaded, the program runs ok and fast enough
-- When lme4 is loaded (but never used), the do.call fails
with infinite recursion after 60 seconds. Memory used increases
beyond bonds in task manager.
-- I tested a few S3 based packages
2010 Feb 11
1
Fwd: Recall function: "evaluation nested too deeply: infinite recursion / options(expressions=)?"
hello all
i searched the archives and couldn't get a solution to the following question.
i have the following function:
F=function(z,v)
{
if (v==-.5) return(1) else return(2*v/z + 1/Recall(z,v-1))
}
and while testing whether it works (ie F(z,v) is approx = besselK(z,1+v)/besselK(z,V). the recursion formula allows one to calculate besselK(z,1+v)/besselK(z,V) for large values of z )
2010 Feb 28
0
[LLVMdev] C infinite recursion mis-optimized?
Hi Isaac,
> For fun, I made a recursive function, but LLVM optimized it wrong (if
> I'm understanding C standards correctly).
>
> "void f() { f(); }"[see llvm-code in footnote 1]
> was optimized to be equivalent to "void f() {}"[also 1]. I believe it
> should either be equivalent in effect to "void f() { while(1){} }"[2],
> which produces an
2010 Feb 28
1
[LLVMdev] C infinite recursion mis-optimized?
On 02/28/10 07:39, Duncan Sands wrote:
> Hi Isaac,
>
>> For fun, I made a recursive function, but LLVM optimized it wrong (if
>> I'm understanding C standards correctly).
>>
>> "void f() { f(); }"[see llvm-code in footnote 1]
>> was optimized to be equivalent to "void f() {}"[also 1]. I believe it
>> should either be equivalent in
2003 Oct 13
2
Infinite recursion in getGeneric (PR#4561)
> setClass('foo')
[1] "foo"
> setMethod('is.logical', 'foo', function(x) TRUE)
[1] "is.logical"
> getGeneric('is.integer')
Error in options(x) : evaluation is nested too deeply: infinite
recursion?
>
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system =
2008 Jan 03
1
Infinite recursion error that I don't understand
> sessionInfo()
R version 2.6.1 Patched (2007-12-03 r43574)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] grDevices datasets stats graphics grid tcltk utils
[8] methods base
## ... + other packages..
2002 Jul 06
1
[PATCH] Infinite recursion in rsync --server
-----BEGIN PGP SIGNED MESSAGE-----
With rsync --server, sometimes when the remote side control-C's a transfer,
rsync will immediately start consuming all available RAM.
gdb shows that its recursing while trying to report the failed write:
#0 0x420503ac in vfprintf () from /lib/i686/libc.so.6
#1 0x42072f74 in vsnprintf () from /lib/i686/libc.so.6
#2 0x08052ca4 in rprintf
2009 Jan 23
1
overwriting '<-' and infinite recursions
Hello all,
I'm having a problem when overwriting the '<-' function and was told
I'd better post it here for help. The reason why I need to overwrite
it is complicated and not easy to tell in a few words; but this seems
the only clean option other than hacking R's core source code. My code
looks like:
# in .onLoad of a package; or if you want to test, put it in a function