agg_png("wineglass.png", width = 1000, height = 500, res = 144)
ggplot(mtcars, aes(wt, mpg)) +
geom_text(
label=fontawesome(c('fa-assistive-listening-systems')),
family='fontawesome-webfont', aes(color = as.character(gear)),
size=10) +
scale_color_discrete(name = "gear") +
theme(text = element_text(family = "fontawesome-webfont"))
invisible(dev.off())
- My guess is that I can load in the version 6 font of fontawesome using the R package extrafonts but I haven’t had time to try that yet.
- Previously:
- From January 11, 2022 use
geom_image
instead of fontawesome: Firefox Support Question Art: Stack images for operating system, anti-virus, sync,email, gmail, cookies, certificates. bookmarks, javascript, addons, youtube, facebook, chrome, chromium, webrtc, zoom, duckduckgo, microsoft, google
Leave a comment on github