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

2007-07-19 Thread Uwe Ligges


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@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.

__
R-help@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.


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

2007-07-19 Thread zhihua li
Sorry, that was a typo.  Actually there wasn't a comma after 'function(m)' 
in my expression.

So I'll try to increase the threshould to see if that works.

Thanks a lot!



From: jim holtman [EMAIL PROTECTED]
To: zhihua li [EMAIL PROTECTED]
Subject: Re: [R] Error: evaluation nested too deeply when doing heatmap 

with binary distfunction

Date: Thu, 19 Jul 2007 00:19:54 -0400

you seem to have a syntax error in your statement.  There appears to
be an extra commas after 'function(m),'.  I think is should be:

heatmap(X,
   
distfun=function(c)dist(c,method=bin),hclustfun=function(m)hclust(m,method=average))





On 7/18/07, zhihua li [EMAIL PROTECTED] 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=)?

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@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.





--
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?


__
R-help@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.


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

2007-07-19 Thread zhihua li

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



From: Uwe Ligges [EMAIL PROTECTED]
To: zhihua li [EMAIL PROTECTED]
CC: r-help@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@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

__
R-help@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.