I have a problem with latex2exp TeX() function. I have no idea why \beta doesn't work here. As you can see in the figure attached, only blank square appears. Any help would be greatly appreciated. Thank you.
ggplot(data=B, aes(x=b1)) +
geom_histogram(
aes(y=..density..),
binwidth = .005) +
coord_cartesian(xlim=c(-1.1,1.1)) +
xlab(TeX(r'(distribution of $\beta_1$)')) +
geom_vline(xintercept = 1,color="blue") +
geom_vline(xintercept = -1,color="blue")
corresponding plot

