Dynamic 'R' 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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("prompt")

1.0.1 by Gábor Csárdi, 8 months ago


https://github.com/gaborcsardi/prompt


Report a bug at https://github.com/gaborcsardi/prompt/issues


Browse source code at https://github.com/cran/prompt


Authors: Gábor Csárdi


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli

Suggests callr, gert, mockery, pkgload, ps, R6, rstudioapi, testthat, withr


See at CRAN