Does R have a function that allows a user to provide a password securely, such as Python\'s getpass module?
getpass
(see http://docs.python.org/library/getpass.
Per m-dz in the comments above, there is a now a package for doing this called getPass, which has a single function, getPass(). This is a replacement for base::readline().
getPass()
base::readline()