分享

今天你emo了吗?

 阿越就是我 2023-10-12 发布于上海

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]查看。下面是一部分展示。

Snipaste_2022-04-24_20-43-28

参考资料

[1]

emoji来源: https://github.com/muan/emojilib/

    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多