Skip to content

Problem with plot.

3 messages · Wolski, Uwe Ligges, Tamas Papp

#
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

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
#
witek wrote:

            
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
#
On Wed, May 12, 2004 at 12:19:41PM +0200, witek wrote:

            
plot(hist(1:10,plot=F))

works fine on my system (as expected).  plot calls the appropriate
method (plot.histogram) in this case to make a plot.  You mentioned
"loading some functions", what functions where these?

Do you get the same error when you load nothing before these commands?
If so, then try to isolate the cause of the problem.  See if hist()
and plot.histogram() are redefined anywhere.

Best,

Tamas