User name of the current user
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.