user | R Documentation |
A set of lightweight helpers that are often not strictly necessary, but they make code easier to read.
user(username = NULL)
machine(machinename = NULL)
node(machinename = NULL)
username |
A character string of a username. |
machinename |
A character string, which will be used as a partial match via
|
node
is an alias for machine
if username
is non-NULL, returns a logical indicating whether
the current user matches the supplied username
.
Otherwise returns a character string with the value of the current user.
machine
returns a logical indicating whether the current machine name
Sys.info()[["nodename"]]
is matched by machinename
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.