library("prompt")

Dynamic Prompt.
This use glue to expand the function passed in, with the follwing bindings available:
t the current time, in format "%H:%M:%S"v the version of RV the version of R, including the svn revisionu the user nameg the github user namem the memory currently used by Rw the current working directoryset_prompt( ~ "{t}> " ) set_prompt( ~ "{w}> " ) set_prompt( ~ "[{m}] {t} {w}> ")
You can use expand_prompt to experiment :
expand_prompt( ~ "{t}> " ) expand_prompt( ~ "{w}> " ) expand_prompt( ~ "[{m}] {t} {w}> ")
install_github( "ThinkR-open/prompt" )
in a way that can be configured. Things we might want to display:
pryr::mem_usedMIT + file LICENSE ©
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.