prompt (Q128928)

From MaRDI portal





Dynamic 'R' Prompt
Language Label Description Also known as
default for all languages
No label defined
    English
    prompt
    Dynamic 'R' Prompt

      Statements

      0 references
      1.0.1
      12 March 2021
      0 references
      1.0.0
      4 March 2021
      0 references
      1.0.2
      31 August 2023
      0 references
      0 references
      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
      0 references
      0 references

      Identifiers

      0 references