Learn R Programming

whoami (version 1.3.0)

fullname: Full name of the current user

Description

Uses the FULLNAME environment variable, if set. Otherwise tries system full names and the git configuration as well.

Usage

fullname(fallback = NULL)

Arguments

fallback

If not NULL then this value is returned if the full name of the user cannot be found, instead of triggering an error.

Value

The full name of the current user.

See Also

Other user names: email_address, gh_username, username, whoami

Examples

Run this code
# NOT RUN {
fullname()
# }

Run the code above in your browser using DataLab