Learn R Programming

fame (version 1.13)

askForString: Ask User for a Password or String

Description

Prompt the user for a password or a string. These functions interact with the user differently depending on the environment in which Ris running.

Usage

askForString(prompt = "?", default = "")
askForPassword(prompt = "Password")

Arguments

prompt
Prompt to show when asking for user input
default
String shown as initial answer in dialog box or Emacs minibuffer, if either is available

Value

  • The password or string entered.

See Also