For #J mol^-1 K^-1#, R is a linear scaling factor of energy content of 1 mole of ideal gas. The energy increases linearly with temperature.
#m^3 Pa. J^-1 K^-1#also exist since the energy term can also be derived in terms of pressure and volume by relating to its momentum change (read this link )