R: Password Prompt Utility

askpass {askpass} | R Documentation

## Password Prompt Utility

### Description

Prompt the user for a password to authenticate or read a protected key. By default, this function automatically uses the most appropriate method based on the user platform and front-end. Users or IDEs can override this and set a custom password entry function via the `askpass` option.

### Usage

    askpass(prompt = "Please enter your password: ")

### Arguments

`prompt` | the string printed when prompting the user for input.

### Examples

    # Prompt user for passwd
    pw <- askpass("Please enter your password")

[Package askpass version 1.1 Index]