prompt_fancy | R Documentation |
It also uses color, on terminals that support it. Is shows:
Status of last command.
Memory usage of the R process.
Load average of the machine.
Package being developed using devtools, if any.
Git branch and state of the working tree if within a git tree.
prompt_fancy(expr, value, ok, visible)
expr |
Evaluated expression. |
value |
Its value. |
ok |
Whether the evaluation succeeded. |
visible |
Whether the result is visible. |
prompt_fancy()
returns the prompt string.
Other example prompts:
new_prompt_powerline()
,
prompt_devtools()
,
prompt_git()
,
prompt_mem()
,
prompt_runtime()
,
prompt_status()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.