Adding symbols to R text function

,

Hi Posit community.
Is there any way to use special symbols with "text" function in R. I want to use solid circles, upper and lower triangles within text function.

Would the {latex2exp} package help? Supported LaTeX commands

Hi @punkz
You can use the relevant Unicode characters to produce the required symbols in a text string E.g.

cat("This is an upper black triangle: \U25B2")