How to compute R (gas constant) in LBM?

I’m working on thermal LBM. I find R everywhere and just don’t know what value to assign to it in LBM.
Also i’m facing another problem which the speed of sound C_s which is function of R and T and don’t know if i should update it in every iteration…

Please help me i’m really struggling with these little details.