[Rd] plot.function documentation/export?

From: Ben Bolker <bbolker_at_gmail.com>
Date: Mon, 25 Jul 2011 11:45:07 -0400

Hash: SHA1

  I recently suggested to someone (
http://stackoverflow.com/questions/6789055/r-inconsistency-why-add-t-sometimes-works-and-sometimes-not-in-the-plot-functi/6789098#6789098 ) that the should use methods("plot") or methods(class="function") to locate the documentation on the plot method for objects of class "function", but they pointed out that these don't actually work.

  I can't figure out why not: src/library/graphics/man/curve.Rd contains the line

\method{plot}{function}(x, y = 0, to = 1, from = y, xlim = NULL, ylab = NULL, \dots)

and src/library/graphics/DESCRIPTION contains

S3method(plot, "function")

 [presumably the extra quotes are in there because function is a reserved word?]

 I'm not sure where else the information should be. Searching around in the code tree for information on tail.function (which is listed in the methods:

> methods(class="function")

[1] as.list.function head.function* print.function tail.function*

I find the same S3method syntax, so I guess the quotation marks aren't the problem ...

  Any ideas?

    Ben Bolker

> sessionInfo()

R version 2.13.1 (2011-07-08)
Platform: i486-pc-linux-gnu (32-bit)

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -

iEYEARECAAYFAk4tj4MACgkQc5UpGjwzenOKhgCeONfuyOCw+9Fe+REaMPWjUbF8 6ikAniQrf5J9bn9f3Kga1xUr5SVcLtot

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 25 Jul 2011 - 15:46:51 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Jul 2011 - 17:50:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive