**From:** witek (*wolski@molgen.mpg.de*)

**Date:** Thu 06 May 2004 - 20:48:09 EST

**Next message:**Duncan Murdoch: "Re: [R] R on Windows Hangs on Packages Built from Sources"**Previous message:**Ulrich Leopold: "[R] X11 fonts cannot be loaded - SuSE Linux solution"**Next in thread:**Paul Murrell: "Re: [R] plot(hist.default(1:10,plot=F)) error."**Reply:**Paul Murrell: "Re: [R] plot(hist.default(1:10,plot=F)) error."

Message-id: <200405061248090007.05D6F394@mail.math.fu-berlin.de>

Hi!

How to find out which plot function is used when i call

plot(hist.default(1:10,plot=F)) and all works fine ?

The reason why I would like to know it is that after loading some self written R functions

*> plot(hist.default(1:10,plot=F))
*

Error in xy.coords(x, y, xlabel, ylabel, log) :

x and y lengths differ

*> traceback()
*

5: stop("x and y lengths differ")

4: xy.coords(x, y, xlabel, ylabel, log)

3: plot.default(hist.default(1:10, plot = F))

2: plot(hist.default(1:10, plot = F))

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

gives an error.

It seems that instead of the function normally used to plot histograms

plot.default is called. But which one is normally used?

How in general i can find out to find out which plot function is called by an object.

R1.9.0

Eryk

[[alternative HTML version deleted]]

______________________________________________

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

**Next message:**Duncan Murdoch: "Re: [R] R on Windows Hangs on Packages Built from Sources"**Previous message:**Ulrich Leopold: "[R] X11 fonts cannot be loaded - SuSE Linux solution"**Next in thread:**Paul Murrell: "Re: [R] plot(hist.default(1:10,plot=F)) error."**Reply:**Paul Murrell: "Re: [R] plot(hist.default(1:10,plot=F)) error."

*
This archive was generated by hypermail 2.1.3
: Mon 31 May 2004 - 23:05:08 EST
*