Dynamic R Prompt
Set the R prompt dynamically, from a function. The package contains some examples.

This is prompt_fancy() and it has

A powerline clone, that also shows the system load average and the current working directory.
Install the package from CRAN, as usual:
install.packages("prompt")
Use one of the pre-defined prompts, as on the screenshots, or create your own.
You can set the prompt in your .Rprofile. Maybe you only want to do this
in interactive mode:
if (interactive()) prompt::set_prompt(prompt::prompt_fancy)
or the powerline prompt:
if (interactive()) prompt::set_prompt(prompt::new_prompt_powerline())
MIT © Gábor Csárdi
R
100.0%
Dynamic R Prompt
Set the R prompt dynamically, from a function. The package contains some examples.

This is prompt_fancy() and it has

A powerline clone, that also shows the system load average and the current working directory.
Install the package from CRAN, as usual:
install.packages("prompt")
Use one of the pre-defined prompts, as on the screenshots, or create your own.
You can set the prompt in your .Rprofile. Maybe you only want to do this
in interactive mode:
if (interactive()) prompt::set_prompt(prompt::prompt_fancy)
or the powerline prompt:
if (interactive()) prompt::set_prompt(prompt::new_prompt_powerline())
MIT © Gábor Csárdi
R
100.0%