Learn R Programming

linear.tools (version 1.3.0)

Enter_to_Continue: Enter_to_Continue: wait your response to continue

Description

wait your response to continue

Usage

Enter_to_Continue(df_input_output = NULL)

Arguments

df_input_output
data.frame. df_input_output shall be either NULL or a two column data.frame with characters as values, with first column as what you want to type, and second column as what you want to return. If it is NULL, then it will return ' Press [enter] to continue; Type [s] to stop'. See the sample code for the df case.

Value

Type through keyboard to continue in console.

Examples

Run this code

Enter_to_Continue(rbind(c('small','small data'),c('n','normal'),c('w','weird curve')))

Run the code above in your browser using DataLab