Description Usage Arguments Examples
Set the dynamic prompt
1 2 3 4 5 | set_prompt(fun)
reset_prompt()
expand_prompt(fun)
|
fun |
whatever |
1 2 3 4 5 | set_prompt( ~"R> " )
set_prompt( ~paste( format(Sys.time(), "%H:%M:%S"), " > " ) )
# example using glue
set_prompt( ~ "{getwd()} >" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.