if (grassStarted()) {
# Starting the GRASS GUI and making changes to rasters or vectors can "break"
# the GRasters and GVectors they are associated with in R.
if (interactive() & FALSE) grassGUI()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.