test-output-styles | R Documentation |
Test case: output styles
Other tests:
index
,
test-crayon
,
test-dont
,
test-figures
,
test-links
,
test-lists
,
test-long-lines
,
test-params
,
test-sexpr-title
,
test-tables
,
test-verbatim
# This example illustrates some important output types
# The following output should be wrapped over multiple lines
a <- 1:100
a
cat("This some text!\n")
message("This is a message!")
warning("This is a warning!")
# This is a multi-line block
{
1 + 2
2 + 2
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.