[R] Error: evaluation nested too deeply when doing heatmap with binary distfunction

zhihua li lzhtom at hotmail.com
Fri Jul 20 05:03:20 CEST 2007


Yes. After I increase the threshould to 10000 it got through. Thanks a lot!


>From: Uwe Ligges <ligges at statistik.uni-dortmund.de>
>To: zhihua li <lzhtom at hotmail.com>
>CC: r-help at stat.math.ethz.ch
>Subject: Re: [R] Error: evaluation nested too deeply when doing heatmap 
with binary distfunction
>Date: Thu, 19 Jul 2007 15:18:29 +0200
>
>
>
>zhihua li wrote:
>>Hi netters,
>>
>>I have a matrix X of the size (1000,100). The values are from -3 to 
>>+3.  When I tried
>>
>>heatmap(X, 
>>distfun=function(c),dist(c,method="bin"),hclustfun=function(m),hclust(m,method="average"))

>>
>>
>>
>>I got the error message: Error: evaluation nested too deeply: 
>>infinite recursion / options(expressions=)?
>
>
>
>So, does it help to increase the thresholds?
>If not, please specify a easily reproducible example that helps us 
>to investigate your problem.
>
>Best,
>Uwe Ligges
>
>
>
>
>>However, if I used default parameters for distfunction:
>>heatmap(X, hclustfun=function(m),hclust(m,method="average"))
>>there is no error messages at all.
>>
>>But the problem is that I have to use binary method in my 
>>disfunction. How can I resolve the problem?
>>
>>Thanks a lot!
>>
>>
>>------------------------------------------------------------------------
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch 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.

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com



More information about the R-help mailing list