Changed assignment of R.

This is for OpenModelica.