Description Usage Arguments Value Author(s) References Examples
View source: R/generateOptionLink.R
Generation option Sexpr
in R documentation
1 | generateOptionSexpr(options_s_1, topicName_s_1, escapeBraces_b_1 = FALSE)
|
options_s_1 |
A single |
topicName_s_1 |
A single |
escapeBraces_b_1 |
A single |
A single string
, containing one option Sexpr
. See references and examples below.
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to
Writing R extensions
section 2.12, to know more about using Sexpr
handling in R documentation.
1 2 | generateOptionSexpr('echo=TRUE', 'x <- 1')
#[1] "\\Sexpr[echo=TRUE]{x <- 1}"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.