knitr1.48 package

A General-Purpose Package for Dynamic Report Generation in R

download_image

Download an image from the web and include it in a document

knit

Knit a document

all_labels

Get all chunk labels in a document

all_patterns

All built-in patterns

asis_output

Mark an R object with a special class

cache_engines

Cache engines of other languages

chunk_hook

Built-in chunk hooks to extend knitr

clean_cache

Clean cache files that are probably no longer needed

combine_words

Combine multiple words into a single string

convert_chunk_header

Convert the in-header chunk option syntax to the in-body syntax

current_input

Query the current input filename

dep_auto

Build automatic dependencies among chunks

dep_prev

Make later chunks depend on previous chunks

opts_template

Template for creating reusable chunk options

engine_output

An output wrapper for language engine output

fig_chunk

Obtain the figure filenames for a chunk

fig_path

Path for figure files

hook_animation

Hooks to create animations in HTML output

hook_document

Some potentially useful document hooks

output_hooks

Set or get output hooks for different output formats

hook_plot

Default plot hooks for different output formats

image_uri

Encode an image file to a data URI

imgur_upload

Upload an image to imgur.com

include_graphics

Embed external images in knitr documents

include_url

Embed a URL as an HTML iframe or a screenshot in knitr documents

inline_expr

Wrap code using the inline R expression syntax

is_low_change

Compare two recorded plots

kable

Create tables in LaTeX, HTML, Markdown and reStructuredText

knit_child

Knit a child document

knit_code

The code manager to manage code in all chunks

knit_engines

Engines of other languages

knit_exit

Exit knitting early

knit_expand

A simple macro preprocessor for templating purposes

knit_filter

Spell check filter for source documents

knit_global

The global environment in which code chunks are evaluated

knit_hooks

Hooks for R code chunks, inline R code and output

knit_meta

Metadata about objects to be printed

knit_params_yaml

Extract knit parameters from YAML text

knit_params

Extract knit parameters from a document

knit_patterns

Patterns to match and extract R code in a document

knit_print

A custom printing function

knit_rd

Knit package documentation

knit_theme

Syntax highlighting themes

knit_watch

Watch an input file continuously and knit it when it is updated

knit2html

Convert markdown to HTML using knit() and mark_html()

knit2pandoc

Convert various input files to various output files using knit() and...

knit2pdf

Convert Rnw or Rrst files to PDF

knit2wp

Knit an R Markdown document and post it to WordPress

raw_block

Mark character strings as raw blocks in R Markdown

knitr-package

A general-purpose tool for dynamic report generation in R

load_cache

Load the cache database of a code chunk

opts_chunk

Default and current chunk options

opts_hooks

Hooks for code chunk options

opts_knit

Options for the knitr package

output_type

Check the current input and output type

pandoc

A Pandoc wrapper to convert documents to other formats

partition_chunk

Partition chunk options from the code chunk body

pat_fun

Set regular expressions to read input documents

plot_crop

Crop a plot (remove the edges) using PDFCrop or ImageMagick

rand_seed

An unevaluated expression to return .Random.seed if exists

raw_output

Mark character strings as raw output that should not be converted

read_chunk

Read chunks from an external script

read_rforge

Read source code from R-Forge

rnw2pdf

Convert an Rnw document to PDF

rocco

Knit R Markdown using the classic Docco style

rst2pdf

A wrapper for rst2pdf

set_alias

Set aliases for chunk options

set_header

Set the header information

set_parent

Specify the parent document of child documents

sew

Wrap evaluated results for output

spin_child

Spin a child R script

spin

Spin goat's hair into wool

stitch

Automatically create a report based on an R script and a template

Sweave2knitr

Convert Sweave to knitr documents

vignette_engines

Package vignette engines

wrap_rmd

Wrap long lines in Rmd files

write_bib

Generate BibTeX bibliography databases for R packages

Provides a general-purpose tool for dynamic report generation in R using Literate Programming techniques.

  • Maintainer: Yihui Xie
  • License: GPL
  • Last published: 2024-07-07