Noam Ross 6/18/2013

Printing R help files in the console or in knitr documents

Read Original

This technical blog post explains how to programmatically include R documentation (help files) in console output or knitr reports. It provides a custom R function, `help_console`, that leverages the `tools` package to convert help files into text, HTML, LaTeX, or Rd format, with options to select specific lines and add wrappers.

Printing R help files in the console or in knitr documents

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week