how to change ¥ to \ in r

Why?

We need a reproducible example (reprex)