inShell | R Documentation |
The function takes R commands, deparses them, substitutes existing variables, and converts
everything to character strings, from which a shell command is created that sends the given
R code to the R interpreter. Function is used internally to print the commands of R rules
into Makefile
.
inShell(...)
... |
R commands to be converted |
A character vector of shell commands, which send the given R code by pipe to the R interpreter
Michal Burda
rRule()
, markdownRule()
inShell({
x <- 1
y <- 2
print(x+y)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.