Rev 59039 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/tools/man/Rdindex.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2007 R Core Team% Distributed under GPL 2 or later\name{Rdindex}\title{Generate Index from Rd Files}\alias{Rdindex}\description{Print a 2-column index table with names and titles from givenR documentation files to a given output file or connection. Thetitles are nicely formatted between two column positions (typically 25and 72, respectively).}\usage{Rdindex(RdFiles, outFile = "", type = NULL,width = 0.9 * getOption("width"), indent = NULL)}\arguments{\item{RdFiles}{a character vector specifying the Rd files to be usedfor creating the index, either by giving the paths to the files, orthe path to a single directory with the sources of a package.}\item{outFile}{a connection, or a character string naming the outputfile to print to. \code{""} (the default) indicates output to theconsole.}\item{type}{a character string giving the documentation type of the Rdfiles to be included in the index, or \code{NULL} (the default).The type of an Rd file is typically specified via the\verb{\docType} tag; if \code{type} is \code{"data"}, Rd fileswhose \emph{only} keyword is \code{datasets} are included as well.}\item{width}{a positive integer giving the target column for wrappinglines in the output.}\item{indent}{a positive integer specifying the indentation of thesecond column. Must not be greater than \code{width/2}, anddefaults to \code{width/3}.}}\details{If a name is not a valid alias, the first alias (or the empty stringif there is none) is used instead.}%% Currently no \example: at run time we do not have direct access to Rd%% files.\keyword{documentation}\keyword{utilities}