insert_emoji {Rmoji} | R Documentation |
Insert Emoji into R Script using a function
Description
Inserts an emoji by name from the emoji_dict through writing the function in the cursor position of the Rstudio Document.
Usage
insert_emoji(name, default = NULL)
Arguments
name |
The name of the emoji (case-insensitive). |
default |
A default emoji to use if the name is not found. |
Value
The emoji used (invisibly).
Examples
if (interactive()) {
insert_emoji("smile")
insert_emoji("notarealemoji", default = "?")
}
[Package Rmoji version 0.1.0 Index]