Nothing
Use utf8_text_*()
functions to format text (using Utf8)
library(utf8ify) text <- "\nHello World" cat( text, utf8_text_bold(text), utf8_text_bold2(text), utf8_text_italic(text), utf8_text_bolditalic(text), utf8_text_cursive(text), utf8_text_gothic(text), utf8_text_circle(text) )
Not all characters can be formatted. In this example the letter ö
is not formatted bold (as there is no corresponding Utf8 bold character)
utf8_text_bold("Heute ist ein schöner Tag")
utf8_number_box(123.45)
{utf8ify} comes with a collection of Utf8 symbols & emojis. They are structured as a list.
u <- utf8_collection()
u$fav |> unlist()
u$animal |> unlist()
u$celebrate |> unlist()
u$clock |> unlist()
u$eat |> unlist()
u$drink |> unlist()
u$list |> unlist()
u$office |> unlist()
u$person |> unlist()
Use utf8_block()
to show a complete Utf8 block:
utf8_block(from = "0x1F600", to = "0x1F64F", show_names = FALSE)
utf8_block(from = "0x2600", to = "0x26FF", show_names = FALSE)
utf8_block(from = "0x16A0", to = "0x16F0", show_names = FALSE)
If you found an Utf8 character on the internet, you can inspect it using utf8_inspect()
utf8_inspect("❤️")
Here you can see, that this heard symbol is a combination of two Utf8 characters.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.