PromptAsTime: PromptAsTime

Description Usage Arguments Value Examples

View source: R/PromptAsTime.R

Description

This changes Rstudio's prompt at the bottom to reflect time. Particularly useful for timing functions when executing long scripts.

Usage

1

Arguments

On

set On to TRUE (Add time to prompter) or FALSE (use default prompter).

Value

The Prompter in Rstudio will now include the time.

Examples

1
2
3
4
5
6
7
8
## Not run: 
PromptAsTime(TRUE)
x <- 100
Sys.sleep(3)
#' x*x
print(x)

## End(Not run)

rmsfuns documentation built on July 8, 2020, 6:18 p.m.