View source: R/hud_user_agent.R
hud_set_user_agent | R Documentation |
Set a user agent when querying the HUD User APIs.
hud_set_user_agent(user_agent, in_wkdir = FALSE, in_home = FALSE)
user_agent |
A character vector with the user agent. |
in_wkdir |
set the key in the user's .RProfile in this directory. Is defaulted to false. |
in_home |
set the key in the user's HOME directory. Is defaulted to false. |
hud_get_user_agent()
hud_set_user_agent()
## Not run: hud_set_user_agent("im-the-user") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.