Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

askpass

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")

askpass

Safe Password Entry for R, Git, and SSH

v1.1
MIT + file LICENSE
Authors
Jeroen Ooms [aut, cre] (<https://orcid.org/0000-0002-4035-0289>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.