[Github-comments] [geany/geany] using Geany with R and compiled code (#2532)

Jan Gorecki notifications at xxxxx
Sat Jun 20 17:16:25 UTC 2020


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 or view it on GitHub:
https://github.com/geany/geany/issues/2532
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200620/5a9dd02b/attachment.htm>


More information about the Github-comments mailing list