line_prompt: Line prompt.

View source: R/replay.r

line_promptR Documentation

Line prompt.

Description

Format a single expression as if it had been entered at the command prompt.

Usage

line_prompt(x, prompt = getOption("prompt"), continue = getOption("continue"))

Arguments

x

string representing a single expression

prompt

prompt for first line

continue

prompt for subsequent lines

Value

a string


evaluate documentation built on March 18, 2022, 6:45 p.m.