Emmanuel Paradis
2000-Jun-08 07:36 UTC
Undocumented functions (was: [R] Dates on Graphics)
At 19:48 07/06/00 +0200, Friedrich Leisch wrote:>>>>>> On Wed, 7 Jun 2000 09:41:23 -0700 (PDT), >>>>>> Thomas Lumley (TL) wrote: > > >TL> Some of this can be done with apropos(), but I don't think you cankeyword>TL> search from inside R. It would be nice. > > >help.search() might do what you want ... > >.fYes, but help.search() looks in the documented functions, whereas Yves's concern was about the functions which are not documented. apropos() is fine apparently, providing the corresponding library is loaded:> apropos("date")[1] "date" "update" "update.default" "update.formula" [5] "update.packages"> library(date) > apropos("date")[1] "Math.date" "Ops.date" "Summary.date" [4] "[.date" "[[.date" "as.character.date" [7] "as.data.frame.date" "as.date" "as.vector.date" [10] "date.ddmmmyy" "date.mdy" "date.mmddyy" [13] "date.mmddyyyy" "is.date" "is.na.date" [16] "mdy.date" "plot.date" "print.date" [19] "summary.date" "date" "update" [22] "update.default" "update.formula" "update.packages"> ?plot.dateError in help(plot.date) : No documentation for `plot.date' Hence, plot.date() is effectively here but not documented. AFAIK, the only solution to know how to use the function is to open the file RHOME/library/date/R, and search for: plot.date <- function(x, y, ..., xaxt, xlab, ylab) { Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2000-Jun-08 08:01 UTC
Undocumented functions (was: [R] Dates on Graphics)
Emmanuel Paradis <paradis at isem.univ-montp2.fr> writes:> Hence, plot.date() is effectively here but not documented. AFAIK, the only > solution to know how to use the function is to open the file > RHOME/library/date/R, and search for: > > plot.date <- function(x, y, ..., xaxt, xlab, ylab) {Recent versions of R have a function called undoc(), which finds functions without documentation, e.g.> undoc('tcltk')[1] ".Last.lib" "tkplace.slaves" "tktitle<-" This is mainly intended for package writers who can use it to find functions that need to have documentation written. (And, oops, we seem to have a couple of missing \alias{}s there...) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._