I\'m getting a strange behavior when, in the console, the variable is displayed like this :
totalAMOUNT [1] 11849.67
and with Rmarkdown : display r total
r total