knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
version <- as.vector(read.dcf('DESCRIPTION')[, 'Version'])
version <- gsub('-', '.', version)

wdprompt

lifecycle packageversion GitHub (pre-)release

Emulate bash prompt behavior in R console by replacing R's default prompt of > with the getwd string. RStudio does display the current working directory in the Console window title bar, but it is not normally where I look. The global environment can be cleared without affecting the prompt behavior.

Complete package documentation is here.



dgabbe/wdprompt documentation built on May 15, 2019, 7:20 a.m.