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:> 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 differWorks 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
On Wed, May 12, 2004 at 12:19:41PM +0200, 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 differplot(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 -- Tam??s K. Papp E-mail: tpapp at axelero.hu Please try to send only (latin-2) plain text, not HTML or other garbage.