Running a C++ code

Hi,

I have C++ code to generate a risk score. However, I don't work with C++. I have a dataset in stata .dta which contain the variables needed for the risk score and my patients.

Is it possible to somehow run this in R? I am not overly familiar with R but have used it before to run regression.

For info this is the C++ code:

https://qrisk.org/three/src.php

Hi, and welcome.

Take a look at @hadley's Chapter 19 in Advanced R

1 Like

Here is a link to the new book chapter

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.