I am using latex2exp package to add math expression in a plot with R. I have an error when I use \\\left( to resize a parenthesis to encompass a fraction.
Can someone can help ? Thanks.
ttt <- TeX("$(\\\left(\\\frac{M}{L} = 0.08$")
I have the following error message when I use \\\\left(
Original string: $\left( \frac{M}{L} = 0.08$
Parsed expression: paste('','',bgroup('(', paste('','',frac(paste('M'), paste('','L')),'',phantom() == phantom(),'0','.','08','') )
Error in parse(text = str) : :2:0: unexpected end of input 1: paste('','',bgroup('(', paste('','',frac(paste('M'), paste('','L')),'',phantom() == phantom(),'0','.','08','') ) ^
