I am trying to make a long list of unicode characters "\u1", "\u2", "\u3", ... "\u10000"
I tried
paste0("\u",1:10000)
However the backslash is treated as an escape character and I get an error.
How can I insert the backslash into my character strings without it being treated as an escape character?
(I realise this question has been tackled before,
Escaping a backslash with a backslash in R produces 2 backslashes in a string, not 1
but the solution of using cat("\\")
does not work for my situation)