Description Usage Details Value Author(s) References See Also Examples
View source: R/aveytoolkit_getLoginDetails.R
Uses tcltk to display a prompt for a loginID and password
1 |
This function displays a window for a user to enter a loginID
and password without showing the password. It may be bad package
etiquette that tcltk
is required for this function but not
imported in the NAMESPACE file. This is done because loading
tcltk
will not work without a display and I want to be
able to use this package (even if not this function) without a
display
an invisible named vector of loginID and password
Markus Gesmann, Barry Rowlingson
http://www.r-bloggers.com/simple-user-interface-in-r-to-get-login-details/ http://r.789695.n4.nabble.com/tkentry-that-exits-after-RETURN-tt854721.html#none
1 2 3 | credentials <- getLoginDetails()
## Do what needs to be done with loginID and password
rm(credentials) # Delete credentials
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.