Skip to content

Resource for learning C/R interface

5 messages · Julian TszKin Chan, Steve Lianoglou, Tal Galili +2 more

#
Hi,
On Sat, Dec 18, 2010 at 11:29 PM, Julian TszKin Chan <cjulian at bu.edu> wrote:
You'll find some info here:
http://cran.r-project.org/doc/manuals/R-exts.pdf

Also, take a good look at the Rcpp package:
http://dirk.eddelbuettel.com/code/rcpp.html

There's *a lot* of things to learn there, so ... happy reading.

-steve
#
Julian -
   I've written a document you might find helpful.

http://www.stat.berkeley.edu/classes/s243/calling.pdf

It also includes the C/matlab interface.

 					- Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Sun, 19 Dec 2010, Julian TszKin Chan wrote:

            
#
----------------------------------------
Thanks, I may try this when I get time. It seems R handles
a lot of this automtically but how can you select a compiler?
That is, let's say I want to write in c++ and then extern-C
the R interface and use a highly optimizing compiler like Intel
( which I think they even make available for free in some cases).