Hello! What is wrong on my system? I have downloaded today R 1.9.1 on my PC with Windows. plot.table isn't available in package <base> and neither in package <graphics> (as suggested after ?plot.table). Kind regards Meinhard Ploner [[alternative HTML version deleted]]
Meinhard GMX wrote:> Hello! > What is wrong on my system? > I have downloaded today R 1.9.1 on my PC with Windows. > > plot.table isn't available in package <base> and neither in package <graphics> (as suggested after ?plot.table).No. plot.table() is in package "graphics": graphics:::plot.table but hidden in the Namespace. It is a method of the generic plot(). For regular use please call plot() instead of plot.table(). Uwe Ligges> Kind regards > Meinhard Ploner > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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
I don't see anything in ?plot.table about calling plot.table: the usage is stated as ## S3 method for class 'table': plot(x, type = "h", ylim = c(0, max(x)), lwd = 2, xlab = NULL, ylab = NULL, frame.plot = is.num, ...) Perhaps you are trying to use it incorrectly? plot.table is a method for the generic function plot(), and plot() can find it. You are not supposed to be able to invoke it directly, but getS3method("plot", "table") will show it to you. On Mon, 16 Aug 2004, Meinhard GMX wrote:> What is wrong on my system?Nothing, probably.> I have downloaded today R 1.9.1 on my PC with Windows. > > plot.table isn't available in package <base> and neither in package > <graphics> (as suggested after ?plot.table).Where does it say it is available? -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hi, On Mon, 16 Aug 2004, Meinhard GMX wrote:> Hello! > What is wrong on my system? > I have downloaded today R 1.9.1 on my PC with Windows. > > plot.table isn't available in package <base> and neither in package <graphics> (as suggested after ?plot.table).You should not use plot.table. Use plot(x) where x is of table object and it should work. Cheers, Kevin -------------------------------- Ko-Kang Kevin Wang PhD Student Centre for Mathematics and its Applications Building 27, Room 1004 Mathematical Sciences Institute (MSI) Australian National University Canberra, ACT 0200 Australia Homepage: http://wwwmaths.anu.edu.au/~wangk/ Ph (W): +61-2-6125-2431 Ph (H): +61-2-6125-7407 Ph (M): +61-40-451-8301