How to debug (line-by-line) Rcpp generated code in Windows?

后端 未结 2 1094
清歌不尽
清歌不尽 2021-01-05 11:25

I am trying to debug Rcpp compiled code at run-time. I have been trying to get this to work unsuccessfully, for a very long time. A very similar question was as

2条回答
  •  猫巷女王i
    2021-01-05 12:02

    It can be done with Visual Studio Code, since it can handle both R and C++. This allows you to step through your Rcpp code one line at a time in a GUI environment.

    See this demo to get started.

提交回复
热议问题