knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Simple concatenation of two strings using the %+%
operator. The package has an add-in for RStudio, for a quick insert %+%
. You can set hotkeys for the add-in, I recommend CTRL+/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.