prompt: 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.

Getting started

Package details

AuthorGábor Csárdi
MaintainerGábor Csárdi <csardi.gabor@gmail.com>
LicenseMIT + file LICENSE
Version1.0.2
URL https://github.com/gaborcsardi/prompt
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("prompt")

Try the prompt package in your browser

Any scripts or data that you put into this service are public.

prompt documentation built on Aug. 31, 2023, 5:07 p.m.