username | R Documentation |
Tries the LOGNAME
, USER
, LNAME
, USERNAME
environment variables first. Then it tries the id
command on Unix-like
platforms and whoami
on Windows.
username(fallback = NULL)
fallback |
If not |
The user name of the current user.
Other user names:
email_address()
,
fullname()
,
gh_username()
,
whoami()
## Not run:
username()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.