# Small function to display plots only if it's interactive
p_ <- GGally::print_if_interactive
p_(ggally_text("Example 1"))
p_(ggally_text("Example\nTwo", mapping = ggplot2::aes(size = 15), color = I("red")))
Run the code above in your browser using DataLab