You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, I did more detailed investigations.
The packages works with the quartz device in OSX.
library(emojifont)
load.emojifont('OpenSansEmoji.ttf')
set.seed(123)
x <- rnorm(10)
set.seed(321)
y <- rnorm(10)
plot(x, y, cex=0)
text(x, y, labels=emoji('cow'), cex=1.5, col='steelblue', family='OpenSansEmoji')
When I try to knit it in RStudio, I get a warning:
Warning in text.default(x, y, labels = emoji("cow"), cex = 1.5, col =
"steelblue", : no font could be found for family "OpenSansEmoji"
When I source R code in RStudio an explicitly use the quartz device, it works,
But with RStudio's own graphics device, it does not work.
The text was updated successfully, but these errors were encountered:
OK, I did more detailed investigations.
The packages works with the quartz device in OSX.
When I try to knit it in RStudio, I get a warning:
When I source R code in RStudio an explicitly use the quartz device, it works,
But with RStudio's own graphics device, it does not work.
The text was updated successfully, but these errors were encountered: