find.documented
locates functions that have flat-format documentation; the functions and their documentation can be separate, and are looked for in all the environments in pos
, so that functions documented in one environment but existing in another will be found. find.docholder
says where the documentation for one or more functions is actually stored. Both find.documented
and find.docholder
check two types of object for documentation: (i) functions with "doc" attributes, and (ii) character-mode objects whose name ends in ".doc"find.documented( pos=1, doctype=c( "Rd", "casual", "own", "any"),
only.real.objects=TRUE)
find.docholder( what, pos=find( funs[1]))
find.documented
, any length. In find.docholder
, only pos[1]
will be used; it defaults to where the first element of funs
is found.doc
attribute of a function, and (ii) any text object whose name ends with ".doc", that expos
environments. FALSE means that other things such as the name of helpfiles might be returned, too.what
; element i
is a character vector showing which objects hold documentation for what[i]
. Normally you'd expect either 0 or 1 entries in the character vector; more than 1 would imply duplication.flatdoc
, doc2Rd
, dochelp