How to write subscripts was already nicely described in this post: Subscripts in plots in R
They also tackled more complex problems, e.g.:
plot(1:10, xlab = expression('hi'[5]*'there'[6]^8*'you'[2]))
The question: how to write this in two lines? Using \n
(Line Feed) causes a strange problem of reordering:
plot(1:10, xlab = expression('hi'[5]*'there'[6]^8*'you \n awesome people'[2]))