I must not be asking my question correctly...
I think it is rather problem of some misunderstanding, or misuse of the word "equation".
The 0.082 value for R comes from the ideal gas law equation at STP
(1atm · 22.4L)/(1mol · 273.15K) = 0.082atm·L/mol·K
I wish to know from which equation the value 8.314 for R is derived.
From exactly the same ideal gas equation. Just because you express values using different units doesn't mean you are using a different equation.
Once you know R value using any set of units it is not a problem to convert it to another, just multiply it by conversion factor(s). For example if you have R expressed as 0.08206 atm·L/mol·K and you want to express pressure using mmHg, conversion factor is 760 mmHg/1 atm and new R value is
[tex]760 \frac {mmHg}{atm} \times 0.082057 \frac {atm \times L}{mol \times K} = 62.36 \frac {mmHg \times L}{mol \times K}[/tex]