From hadley at rice.edu  Mon Nov 15 17:46:42 2010
From: hadley at rice.edu (Hadley Wickham)
Date: Mon, 15 Nov 2010 10:46:42 -0600
Subject: [Rd] SEXPs and slots
In-Reply-To: <AANLkTi=_nmKKnGY97DSrrmSPE4j88mpfjqoiw73Bxh=t@mail.gmail.com>
References: <AANLkTiksZ333w8oYT2m3NrxbzHXyz=fAj9HfSpeKspTi@mail.gmail.com>
	<4CDDDDA8.3040003@fhcrc.org>
	<AANLkTi=_nmKKnGY97DSrrmSPE4j88mpfjqoiw73Bxh=t@mail.gmail.com>
Message-ID: <AANLkTik-03cbaasbd9+Avc8v=OqwLp8XJSzUC8cSXPiD@mail.gmail.com>

> 2. ?Any good references/resources for developing R? ?Nearly all the
> documents I've found are for programming R as a user, not as a developer. ?I
> have copies of the documentation, which are very helpful, but it'd be
> helpful to have additional resources to fill in their gaps.

The best advice I've received is to use Rcpp:
http://stackoverflow.com/questions/4106174/where-can-i-learn-to-how-to-write-c-code-to-speed-up-slow-r-functions.
 It provides a consistent api for C <-> R conversions and so is much
easier to learn.  Dirk and Romain are also churning out the
documentation, so there are lots of examples to learn from.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



[Rd] SEXPs and slots
Hadley Wickham