[R] Problem with plot.

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 12 13:11:06 CEST 2004


witek wrote:

> Hi!
> After loading some functions in R1.9.0 and some computations I am getting the following errors (see below with plot).
> I have now idea how to figure out whats wrong. Can anyone give me a hint where to start to debug?
> 
> Eryk
> 
> plot(1,1) fine. 
> 
> plot(hist(1:10,plot=F))
> Error in xy.coords(x, y, xlabel, ylabel, log) : 
> 	x and y lengths differ

Works for me, hence probably a problem with your installation of R (BTW: 
Your OS is???). Or do you have strange versions of "plot()", "hist()" or 
"F" in your workspace?

Uwe Ligges


> plot(hclust(res))
> Error in plot.window(xlim, ylim, log, asp, ...) : 
> 	need finite xlim values
> In addition: Warning messages: 
> 1: no finite arguments to min; returning Inf 
> 2: no finite arguments to max; returning -Inf 
> 3: no finite arguments to min; returning Inf 
> 4: no finite arguments to max; returning -Inf
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list