Ideal Gas constant
In the ideal gas equation,
In thermochemistry, it's value is changed
It depends on what you're looking for in your equation in determining what constant to use. It will also help you in solving the equation if you keep all of your units. Since the R has all of the constants it will lead you in finding your missing variable.