askForPassword

0th

Percentile

Ask the user for a password interactively

Ask the user for a password interactively.

Usage
askForPassword(prompt)
Arguments
prompt

Single element character vector containing the prompt to be displayed

Details

RStudio also sets the global askpass option to the rstudioapi::askForPassword function so that it can be invoked in a front-end independent manner.

Note

The askForPassword function was added in version 0.99.853 of RStudio.

Aliases
  • askForPassword
Examples
# NOT RUN {
rstudioapi::askForPassword("Please enter your password")
# }
Documentation reproduced from package rstudioapi, version 0.8, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.