I am studying chemistry and biology at the same time, and have encountered a problem. In the ideal gas law, the $R$ is the ideal gas constant, and its value is $\pu{0.0821 L atm mol-1 K-1}.$
However, in the osmotic pressure formula $\Psi_s = -iCRT,$ the $R$ is called the pressure constant, and its value is $\pu{0.0831 L bar mol-1 K-1}.$ Is it a coincidence that their values are identical (after adjusting for the $\pu{atm}$ and $\pu{bar}$ conversion)?