prompt (Q128928)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: prompt |
Dynamic 'R' Prompt
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | prompt |
Dynamic 'R' Prompt |
Statements
31 August 2023
0 references
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.
0 references