Many R packages contains compiled code, most commonly C.
I found some docs about using Geany with R https://wiki.geany.org/howtos/using_geany_with_r but they not mention anything about compiling C code.
Could anyone extend documentation on how to setup Geany for R's compiled code? I can imagine this is probably R CMD SHLIB command somewhere there.
Presently on the line.

#include <R.h>

I am getting

data.table.h:2:10: fatal error: R.h: No such file or directory
 #include <R.h>
          ^~~~~
compilation terminated.
Compilation failed.

Not sure if that matters, but strictly speaking I am interested in C code being highlighted when there are compiler warning/error. I do compilation of a package in a separate shell session.
Thank you.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.