Dynamic 'R' Prompt
This is a Powerline-like prompt
Dynamic R Prompt
Example prompt that shows the package being developed with devtools
A fancy prompt, showing probably too much information
An example 'git' prompt
Example prompt that shows the current memory usage of the R process
A prompt that shows the CPU time used by the last top level expression
A prompt that shows the status (OK or error) of the last expression
Set and control the prompt
Set the 'R' prompt dynamically, from a function. The package contains some examples to include various useful dynamic information in the prompt: the status of the last command (success or failure); the amount of memory allocated by the current 'R' process; the name of the R package(s) loaded by 'pkgload' and/or 'devtools'; various 'git' information: the name of the active branch, whether it is dirty, if it needs pushes pulls. You can also create your own prompt if you don't like the predefined examples.