Package: prompt 1.0.2.9000
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.
Authors:
prompt_1.0.2.9000.tar.gz
prompt_1.0.2.9000.zip(r-4.5)prompt_1.0.2.9000.zip(r-4.4)prompt_1.0.2.9000.zip(r-4.3)
prompt_1.0.2.9000.tgz(r-4.4-any)prompt_1.0.2.9000.tgz(r-4.3-any)
prompt_1.0.2.9000.tar.gz(r-4.5-noble)prompt_1.0.2.9000.tar.gz(r-4.4-noble)
prompt_1.0.2.9000.tgz(r-4.4-emscripten)prompt_1.0.2.9000.tgz(r-4.3-emscripten)
prompt.pdf |prompt.html✨
prompt/json (API)
NEWS
# Install 'prompt' in R: |
install.packages('prompt', repos = c('https://gaborcsardi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gaborcsardi/prompt/issues
Last updated 1 years agofrom:17bd0e1737. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 23 2024 |
R-4.5-win | OK | Dec 23 2024 |
R-4.5-linux | OK | Dec 23 2024 |
R-4.4-win | OK | Dec 23 2024 |
R-4.4-mac | OK | Dec 23 2024 |
R-4.3-win | OK | Dec 23 2024 |
R-4.3-mac | OK | Dec 23 2024 |
Exports:devtools_packagesgit_arrowsgit_branchgit_dirtygit_remote_statusis_git_dirmemory_usagenew_prompt_powerlineprompt_devtoolsprompt_fancyprompt_gitprompt_memprompt_runtimeprompt_statusrestoreset_promptsuspendtoggle
Dependencies:cli
Readme and manuals
Help Manual
Help page | Topics |
---|---|
This is a Powerline-like prompt | new_prompt_powerline |
Dynamic R Prompt | prompt-package prompt |
Example prompt that shows the package being developed with devtools | devtools_packages prompt_devtools |
A fancy prompt, showing probably too much information | prompt_fancy |
An example 'git' prompt | git_arrows git_branch git_dirty git_remote_status is_git_dir prompt_git |
Example prompt that shows the current memory usage of the R process | memory_usage prompt_mem |
A prompt that shows the CPU time used by the last top level expression | prompt_runtime |
A prompt that shows the status (OK or error) of the last expression | prompt_status |
Set and control the prompt | restore set_prompt suspend toggle |