I want to use the infinity sign on the x-axis of a box plot in R, which I want to write to a PDF file.
I can set the infinity symbol by doing
names(data)[9] <- "∞"
but that gets me encoding errors when trying to write:
conversion failure on '∞' in 'mbcsToSbcs': dot substituted for <...>