<p></p>
<p>Many R packages contains compiled code, most commonly C.<br>
I found some docs about using Geany with R <a href="https://wiki.geany.org/howtos/using_geany_with_r" rel="nofollow">https://wiki.geany.org/howtos/using_geany_with_r</a> but they not mention anything about compiling C code.<br>
Could anyone extend documentation on how to setup Geany for R's compiled code? I can imagine this is probably <code>R CMD SHLIB</code> command somewhere there.<br>
Presently on the line.</p>
<pre><code>#include <R.h>
</code></pre>
<p>I am getting</p>
<pre><code>data.table.h:2:10: fatal error: R.h: No such file or directory
 #include <R.h>
          ^~~~~
compilation terminated.
Compilation failed.
</code></pre>
<p>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.<br>
Thank you.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2532">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ52SYTIGNCW42FXGFDRXTVGTANCNFSM4ODO5UQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7SDPLT2E2EXSJ46HTRXTVGTA5CNFSM4ODO5UQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JSKOIFA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2532",
"url": "https://github.com/geany/geany/issues/2532",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>