Learn R Programming

Rd2md (version 1.0.0)

Rd2markdown-deprecated: Rd file to markdown

Description

This function converts an Rd file into markdown format.

Value

Parsed Rd as named list

Arguments

rdfile

Filepath to an .Rd file or an Rd object to parse.

outfile

Filepath to output file (markdown file).

append

If outfile exists, append to existing content.

See Also

Rd2md-deprecated

Examples

Run this code
## give a markdown source file
rdfile = "~/git/MyPackage/man/myfun.Rd"
## specify, where markdown shall be stored
outfile = "/var/www/html/R_Web_app/md/myfun.md"
## create markdown
## Rd2markdown(rdfile = rdfile, outfile = outfile)

Run the code above in your browser using DataLab