Last data update: 2014.03.03

R: Line prompt.
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

Results