similar to: infinite recursion during package installation with methods, setAs

Displaying 20 results from an estimated 20000 matches similar to: "infinite recursion during package installation with methods, setAs"

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
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
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
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 <-
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 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
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
2004 Aug 25
1
Pixmap problem
Hi, I'm having trouble writing .pnm images which I think is due to a problem with my colour space. The pixmap object seems to be looking for 72 of 8 colours (one per cell?) which doesn't seem healthy... > library(pixmap) > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8)) > x Pixmap image Type : pixmapIndexed Size : 6x12 Resolution : 1x1
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
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).
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 )
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..
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
2000 Mar 08
1
infinite recursion problem
hello r-users, sorry for asking a long question that may not be very relevant for the list but it's upsetting me and I get no other solution... I get a function HTMLExport.lm that uses another function called HTMLExport.list. My problem is that function HTMLExport.list works fine when used alone but HTMLExport.lm crashes with the following error : > HTMLExport(iris.lm) lm(formula =
2010 Oct 04
2
Recursion error after upgrade to R_2.11.1 [Sec=Unclassified]
Hi all, After an upgrade from R_2.10.1 to R_2.11.1 I am now getting the following error: Error: evaluation nested too deeply: infinite recursion / options(expressions=)? This occurs in the initialize method of S4 classes where I was initialising attributes eg: .Object[['realtimeState']] <- list() I can avoid this new error by altering the code to do: .Object$realtimeState <-
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
2003 Apr 15
1
Recursion Limits?
See the code below. First, what are recursion limits in R. The function is stopping after 25 iterations for me. Is this general, or localized? Can recursion limits be changed? Second, which is generally more efficient, recursion or looping over a function? R 1.6.1 Windows 98 ----------------------------------------------------------- recurse<-function (n) { ifelse(n<50, {print(n);
2010 Aug 22
2
Recursion problem
Hi, I wanted to compute the value of the function ifn at certain values of n. But I am receiving the following error when I was using the following code(given at the end). Error: evaluation nested too deeply: infinite recursion / options(expressions=)? I feel that since the function Grx is recursively related, perhaps making the code too complicated too handle. Can anyone let me know if