Ask the user for a password interactively
Ask the user for a password interactively.
Single element character vector containing the prompt to be displayed
RStudio also sets the global
askpass option to the
rstudioapi::askForPassword function so that it can be invoked in a front-end independent manner.
askForPassword function was added in version 0.99.853 of RStudio.
1 2 3 4
## Not run: rstudioapi::askForPassword("Please enter your password") ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.