Learn R Programming

evaluate (version 1.0.1)

line_prompt: 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"))

Value

a string

Arguments

x

string representing a single expression

prompt

prompt for first line

continue

prompt for subsequent lines