Emoji characters in R
Now we have emojifont package installed so we will import it using library(emojifont). To print emoji we will use emoji(“emojiname”) to search emoji we will use search_emoji(“name”), this will return all the related emoji and we will store it as a list and print using emoji().
R
# importing package library (emojifont) # printing joy emoji emoji ( "joy" ) # searching emoji list <- c ( search_emoji ( "joy" )) # printing all the emoji's in the list emoji (list) |
Output:
Introduction to emojifont package in R
In this article, we will see how to use emojifont package in R. This package is designed to bring emoji font to R Programming Language.
We will have a look at how to search and print emoji using emojifont package.
Contact Us