| prompt_status {prompt} | R Documentation |
A prompt that shows the status (OK or error) of the last expression
Description
A prompt that shows the status (OK or error) of the last expression
Usage
prompt_status(expr, value, ok, visible)
Arguments
expr |
Evaluated expression. |
value |
Its value. |
ok |
Whether the evaluation succeeded. |
visible |
Whether the result is visible. |
Value
prompt_status() returns the prompt string.
See Also
Other example prompts:
new_prompt_powerline(),
prompt_devtools(),
prompt_fancy(),
prompt_git(),
prompt_mem(),
prompt_runtime()
[Package prompt version 1.0.2 Index]