Displaying 20 results from an estimated 2000 matches similar to: "Error: evaluation nested too deeply: infinite recursion / options(expressions=)?"
2010 Feb 11
0
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 )
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 <-
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 )
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
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).
2011 Mar 04
4
xts POSIXct index format
Hi,
I cannot figure out how to change the index format when displaying POSIXct
objects.
Would like the xts index to display as %H:%M:%OS3 when doing viewing the xts
object.
Think I am missing the obvious.
Cheers,
Chris
--
View this message in context: http://r.789695.n4.nabble.com/xts-POSIXct-index-format-tp3336136p3336136.html
Sent from the R help mailing list archive at Nabble.com.
2011 Jan 10
2
Aggragating subsets of data in larger vector with sapply
Have 40,000 rows of buy/sell trade data and am trying to add up the buys for
each second, the code works but it is very slow. Any suggestions how to
improve the sapply function ?
secEP = endpoints(xSym$Direction, "secs") # vector of last second on an XTS
timeseries object with multiple entries for each second.
d = xSym$Direction
s = xSym$Size
buySize = sapply(1:(length(secEP)-1),
2011 Jan 03
2
Regex to remove last character
Hi,
Have been having trouble trying to figure out the right regex parameters to
remove the last "." in timestamp with the following format:
Convert 09:30:00.377.853 to 09:30:00.377853
Thanks,
Chris
--
View this message in context: http://r.789695.n4.nabble.com/Regex-to-remove-last-character-tp3172466p3172466.html
Sent from the R help mailing list archive at Nabble.com.
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
I'm using R on Windows XP Professional SP2.
I figured out the fix for my buffer overflow problem that did not allow me
to use Rgui.exe for about two weeks. I would keep getting "console not
found" and even when I uninstalled and re-installed got the same problem.
Here's how the problem started. In Rgui.exe, I attempted to get more
visible output in the buffer (I wanted
2010 Oct 11
2
Slow reading multiple tick data files into list of dataframes
Hi,
I am trying to find the best way to read 85 tick data files of format:
> head(nbbo)
1 bid CON 09:30:00.722 09:30:00.722 32.71 98
2 ask CON 09:30:00.782 09:30:00.810 33.14 300
3 ask CON 09:30:00.809 09:30:00.810 33.14 414
4 bid CON 09:30:00.783 09:30:00.810 33.06 200
Each file has between 100,000 to 300,300 rows.
Currently doing nbbo.list<-
2010 Aug 12
0
Error: evaluation nested too deeply
Hi guys,
I have a code in R and it was work well but when I decrease the epsilon
value (indicated in the code) , then I am getting this error
Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?
any help please
y = 6.8;
w = 7.4;
z = 5.7;
muy = 7;
muw = 7;
muz = 6;
sigmay = 0.8;
sigmaz = 0.76;
sigmaw = 0.3;
betayx = 0.03;
betayz = 0.3;
betayw = 0.67
s =
2004 Jan 03
0
error "evaluation nested too deeply" {was "Heatmap"}
I'm diverting this to the more appropriate mailing list, R-help,
since heatmap() is standard R function.
>>>>> "Johan" == Johan Lindberg <johanl at kiev.biotech.kth.se>
>>>>> on Fri, 02 Jan 2004 10:04:14 +0100 writes:
Johan> I am trying to plot a matrix of m-values in a heatmap
Johan> with "average linkage". The rows
2009 Jan 22
0
error using heatmap :"evaluation nested too deeply....."
Hi,
I get following error when trying to plot a heatmap on a very large matrix
(808 x5000).
heatmap(ctab)
Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?
Call to heatmap function is not contained within any other function or so.
Upon searching the R mailing list, I found that someone had the same problem
and the suggested solution was to set an option using
2004 Jul 21
0
error "evaluation nested too deeply" {was "Heatmap"}
Hi,
Trying to plot a large dendrogram, I get the recursion limit error
Error in match.fun(FUN) : evaluation nested too deeply: infinite
recursion / options(expression=)?
but setting
options(expressions = 10000)
or something large enough to solve the infinite recursion limit
problem,
I get
Error: protect(): stack overflow
Is there anything that can be done?
Thanks
Claudio Donati
2009 Mar 17
2
link in base help file fails.
I run R on MS Windows. In R2.9.0dev, I type ?base to get "R help for package
base" to open. I then select ".First" from the list of contents, getting a page
headed: "Initialization at Start of an R Session". About half way down there is
a sentence:
The command-line flag --vanilla implies --no-site-file, --no-init-file,
--no-restore and --no-environ. Under
2006 Feb 23
7
Bug in setting GUI to SDI mode?
Hi
I did a google search on this and came up with nothing.
OK, in the latest release of R for windows, I want to change the gui to
SDI mode.
Edit -> GUI preferences
Choose SDI
Apply
I get the message about properties not being able to be changed on a
running console, and that I need to save.
So I click Save, and am met with a "Save As" dialogue box with the
default file called
2009 Aug 30
2
RConsole processing crashes Rgui.exe
Using R 2.9.2 on Windows XP SP3.
1. Edit ~/Rconsole, and set
font = TT Bitstream Vera Sans Mono
2. Start Rgui.exe
3. Go to Edit, GUI Preferfences
4. Rgui.exe crashes
Rgui.exe does not crash if I do not access GUI Preferences (i.e., if I just use
R), and it does correctly use Bitstream Vera Sans Mono as my font. Nor does it
crash if I edit RConsole to set the font back to Lucida Console and
2011 Mar 02
1
Create a zoo/xts Time Series with Millisecond jumps
Is there a easy way to create the time index for a zoo/xts object for every
100 milliseconds.
eg. time Index would be:
10:00:00:100
10:00:00:200
10:00:00:300
10:00:00:400
I am looking to build an empty zoo/xts object with time index from 10am to
3pm, index jumps by 100ms each row.
Thanks,
Chris
--
View this message in context:
2011 Mar 18
1
Replace split with regex for speed ?
Have timestamp in format HH:MM:SS.MMM.UUU and need to remove the last "." so
it is in format HH:MM:SS.MMMUUU.
What is the fastest way to do this, since it has to be repeated on millions
of rows. Should I use regex ?
Currently doing it with a string split, which is slow:
>head(ts)
[1] 09:30:00.000.245 09:30:00.000.256 09:30:00.000.633 09:30:00.001.309
09:30:00.003.635