GuangchuangYu / emojifont

:lollipop:Emoji and fontawesom in both base and ggplot2 graphics
https://guangchuangyu.github.io/emojifont/
67 stars 22 forks source link

Some emojis work, others don't #3

Closed ThomasWilli closed 8 years ago

ThomasWilli commented 8 years ago

Hi

Thank you for this package, it looks promising! However, it seems that only some emojis can be displayed, while others don't work at all. Do I need to install other «stuff»? Thanks for your help!

Here's my sessionInfo:

sessionInfo()

R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS release 6.7 (Final)

 locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
 [10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

 attached base packages:
 [1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_2.0.0   emojifont_0.3.1 showtext_0.4-4  sysfonts_0.5    RMySQL_0.10.7  
[6] DBI_0.3.1      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.3      digest_0.6.9     showtextdb_1.0   grid_3.2.2       plyr_1.8.3      
 [6] gtable_0.1.2     scales_0.3.0     proto_0.3-10     labeling_0.3     tools_3.2.2     
[11] munsell_0.4.2    colorspace_1.2-6
GuangchuangYu commented 8 years ago

post source code for me to reproduce the 'not working emoji'.

please make sure you are not using RStudio, which is not supported.

ThomasWilli commented 8 years ago

Sorry, wasn't aware that it does not work in RStudio. The example runs perfectly now. Thanks!