When using expression() the ~ character creates a space, and the * character combines things. See the following code:
ggdat<-data.frame(x=rnorm(100),y=rnorm(100)) ylab <- expression('stuck'*'together'*'eg:'*mu*'liter') xlab <- expression('sep'~'par'~'at'~'ed'~'eg:'~mu~'liter') ggplot(data=ggdat,aes(x=x,y=y)) + geom_point() + labs(x=xlab, y=ylab)

source share