newpause <-
function (prompt = "Touch Return to continue; type n to breakout s to save: ")
{
repeat {
cat(prompt)
ans <- readline()
invisible()
if (ans == "n" | ans == "no")
return("n")
if (ans == "")
return("")
if (ans == "s" | ans == "ss")
return("s")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.