powered by
Generation option Sexpr in R documentation
Sexpr
generateOptionSexpr(options_s_1, topicName_s_1, escapeBraces_b_1 = FALSE)
A single string value that is generally R code used to set expression options
string
A single string value that is the generally R code
A single boolean value, asking to escape braces
boolean
A single string, containing one option Sexpr. See references and examples below.
Refer to Writing R extensions section 2.12, to know more about using Sexpr handling in R documentation.
# NOT RUN { generateOptionSexpr('echo=TRUE', 'x <- 1') #[1] "\\Sexpr[echo=TRUE]{x <- 1}" # }
Run the code above in your browser using DataLab