Relative Content

Tag Archive for pdfr-markdowngt

fmt_currency() from gt package renders currency name and not currency symbol when knit to pdf in Rmarkdown

so I am using gt() and then fmt_currency() to add the £ symbol in one of my tables.
On Rstudio it works fine, but then when knit to pdf I see GBP in front of the numbers instead of the symbol.
Is anyone aware of potential restrictions of the function fmt_currency() when its output is exported in pdf? so it only works for html type of files?
Or is there an option with Rmarkdown for the output to use the symbol rather than the name?