library("prompt")

prompt

Dynamic Prompt.

Usage

This use glue to expand the function passed in, with the follwing bindings available:

set_prompt( ~ "{t}> " )
set_prompt( ~ "{w}> " )
set_prompt( ~ "[{m}] {t} {w}> ")

You can use expand_prompt to experiment :

expand_prompt( ~ "{t}> " )
expand_prompt( ~ "{w}> " )
expand_prompt( ~ "[{m}] {t} {w}> ")

Installation

install_github( "ThinkR-open/prompt" )

Initial ideas

in a way that can be configured. Things we might want to display:

License

MIT + file LICENSE ©



ThinkR-open/prompt documentation built on May 6, 2019, 3:28 p.m.