[R] simple example of C interface to R

Rau, Roland
Tue, 08 Feb 2005 09:55:01 -0000

Hi,

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of jbdunsmo at utmb.edu
Sent: Friday, February 04, 2005 10:40 PM
To: Roger Bivand
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] simple example of C interface to R

On Fri, Feb 04, 2005 at 09:09:37PM +0100, Roger Bivand
wrote:
>
> Well, it is documented in the Writing R Extensions manual:
>
>
http://cran.r-project.org/doc/manuals/R-exts.html#System-and-foreign-lan
guage-interfaces
>

thanks.  reading through that a second time made all the difference.
i still think a complete example (a very simple C program that uses R
and compiles without errors) would be good to have in the
documentation.

jason

do you know already the page of Roger D. Peng?
He has a document entitled "An Introduction to the .C Interface to R".
It is located at:
http://www.biostat.jhsph.edu/~rpeng/docs/interface.pdf

Does this help you?

Best,
Roland


+++++
This mail has been sent through the MPI for Demographic Rese...{{dropped}}