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 Oct. 10, 2024, 5:06 p.m.