user_id | R Documentation |
Obtain Telegram user id from system variables (in .Renviron
) set
according to the naming convention R_TELEGRAM_USER_X
where X
is the user's name.
user_id(user_name)
user_name |
The user's name. |
## Not run: # Open the `.Renviron` file file.edit(path.expand(file.path("~", ".Renviron"))) # Add the line (uncomment and replace <user-id> by your Telegram user ID): # R_TELEGRAM_USER_Me=<user-id> # Save and restart R user_id("Me") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.