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


hadley/evaluate documentation built on Nov. 4, 2023, 2:23 a.m.