Learn R Programming

knitr (version 0.6.3)

knit_engines: Engines of other languages

Description

This object controls how to execute the code from languages other than R (when the chunk option engine is not 'R'). Each component in this object is a function that takes a list of current chunk options (including the source code) and returns a character string to be written into the output.

Usage

knit_engines

Arguments

format

List of 4 $ get :function (name, default = FALSE) $ set :function (...) $ merge :function (values) $ restore:function ()

References

Usage: http://yihui.name/knitr/objects

Examples

Run this code
knit_engines$get("python")
knit_engines$get("awk")

Run the code above in your browser using DataLab