emo 包又是Hadley大神的作品!是专门用来在rmarkdown中插入emoji表情的。
支持的emoji表情来自于这个网站[1]。 安装# install.packages("devtools") devtools::install_github("hadley/emo")
使用使用方式非常简单。 emo::ji("sun")
## ☀️
emo::ji("poop")
## 💩
emo::ji("smile")
## 😄
或者使用行内格式:😄 (r emo::ji("smile") ) 支持超多emoji和相应的符号,大家可以去github[2]查看。下面是一部分展示。 参考资料emoji来源: https://github.com/muan/emojilib/
|