gar_setup_edit_renviron | R Documentation |
Setup wizard help - asking users to edit .Renviron
gar_setup_edit_renviron(to_paste, session_user)
gar_setup_check_session(session_user = NULL)
to_paste |
The line to paste into .Renviron |
session_user |
whether its a 1 = user level or 2=project level .Renviron file Intended to get user input from a menu, 1 indicating user level, 2 project level gar_setup_check_session creates a menu for the user to choose which |
Other setup functions:
gar_setup_auth_check()
,
gar_setup_auth_key()
,
gar_setup_clientid()
,
gar_setup_env_check()
,
gar_setup_menu()
,
gar_setup_menu_do()
## Not run:
choice <- gar_setup_check_session()
gar_setup_edit_renviron("ENV_ARG=blah", session_user = choice)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.