Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Arguments

x

string representing a single expression

prompt

prompt for first line

continue

prompt for subsequent lines

Value

a string


evaluate

Parsing and Evaluation Tools that Provide More Details than the Default

v0.14
MIT + file LICENSE
Authors
Hadley Wickham [aut], Yihui Xie [aut, cre] (<https://orcid.org/0000-0003-0645-5666>), Michael Lawrence [ctb], Thomas Kluyver [ctb], Jeroen Ooms [ctb], Barret Schloerke [ctb], Adam Ryczkowski [ctb], Hiroaki Yutani [ctb], Michel Lang [ctb], Karolis Koncevičius [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.