[Rd] How to call R from C

Brian G. Peterson brian at braverock.com
Mon Nov 22 18:09:41 CET 2010


On Tue, 23 Nov 2010 01:24:04 +0900, 이원재<wjlee2002 at naver.com> wrote:
> Hi all!
> I read R Extensions manual.
> But still I am not sure how to call R functions from C.
> Would any of you give me a sample C code to show how to call R functions
-
> for instance, time series functions - from C in the embedded way of C
code?

Dirk indicates that I may have misunderstood your question.

Perhaps this will help.

http://quantitative-ecology.blogspot.com/2008/11/call-c-from-r-and-r-from-c.html

If you need further help, please provide a minimal self-contained example
of what you're trying to do.

  - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-devel mailing list