[R] C-Code in R (running Windows)

Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI at saic.com
Wed Mar 1 14:20:06 CET 2006

The simplest way to add C (C++) code in R, that I know is by creating a
package ( even if you are not planning on distributing it). See 'Writing
R Extensions' manual (http://cran.r-project.org/manuals.html) for
details. Download source codes of packages for more examples, many of
them will have .c files. See also FAQ
rce .

Jarek Tuszynski

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of K.A.
Sent: Wednesday, March 01, 2006 7:14 AM
To: r-help at stat.math.ethz.ch
Subject: [R] C-Code in R (running Windows)


I need to include C (or C++)-Code in R. I'm searching for a tutorial,
how to
do this. It is only a very small algorith (one function). Using google,
read somethig about including dll-Files and so on (on windows). 

Is there no possibility to include a C-File directly?!?
View this message in context:
Sent from the R help forum at Nabble.com.

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list