Use the package [pywrapr](https://github.com/pharmpy/pywrapr) to convert the generated code to R.
Use the package pywrapr to convert the generated code to R.