Hi,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, February 04, 2005 10:40 PM
To: Roger Bivand
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] simple example of C interface to R
On Fri, Feb 04, 2005 at 09:09:37PM +0100
On Tue, Feb 08, 2005 at 10:55:01AM +0100, Rau, Roland wrote:
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
thanks. that's a nice tutorial, but
/usr/lib/R/bin -lR
would work.
Reid Huntsinger
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 12:14 PM
To: Rau, Roland; r-help@stat.math.ethz.ch
Subject: Re: [R] simple example of C interface to R
@stat.math.ethz.ch
Subject: Re: [R] simple example of C interface to R
On Tue, Feb 08, 2005 at 10:55:01AM +0100, Rau, Roland wrote:
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
thanks for all the help. i've tried everyone's suggestions, to no
avail...
On Tue, Feb 08, 2005 at 04:19:10PM -0500, Huntsinger, Reid wrote:
Rtest.o is just an object file, and the second call to gcc is really a call
to ld and creates Rtest.so, a shared library. Neither is executable.
On Tue, 8 Feb 2005 [EMAIL PROTECTED] wrote:
thanks for all the help. i've tried everyone's suggestions, to no
avail...
Not *my* suggestion, though. Mine was to use the Makefile, which has
Rtest: Rtest.o embeddedRCall.o
$(R_CMD_LINK) -o $@ Rtest.o embeddedRCall.o $(LIBR)
and just needs
See if this helps:
http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Dalgaard.pdf
Andy
From: [EMAIL PROTECTED]
i'd like to use the C interface to R in a program i'm writing. as a
starting point, i'm trying to create a very simple C program that uses
R. i've read the 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-language-interfaces
thanks. reading through that a second time made all the difference.
i still