| rd2html | R Documentation |
Just a wrapper for tools::RdHTML to find a directory (e.g., the Man directory of help files) and convert them to HTML files in a new directory. Useful for adding HTML help files to a local web page.
rd2html(inDir =NULL,outDir=NULL, nfiles=NULL,package="psych",file=NULL)
inDir |
The input directory. If NULL,then a file in a directory will be searched for using file.choose() |
outDir |
Where to write the output files |
nfiles |
If not NULL, then how many files should be written |
package |
name of package |
file |
If specified, just convert this one file to HTML |
Just a wrapper for Rd2HTML calling some file tools. An interesting use of the function is to precheck whether all the help files are syntactically correct.
William Revelle
See Also as filesList, filesInfo
if(interactive()) {
#This is an interactive function whic require interactive input and thus is not given as examples
rd2html()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.