I've written a handout that talks about calling C from R and
calling R from C using both the .C and .Call methods. (It also
shows similar information for matlab -- my apologies.) You
can find it here:
http://www.stat.berkeley.edu/classes/s243/calling.pdf
TheSavageSam wrote:
>
> Thanks for the huge help. I have learned a lot and been able to start
> writing my own code.
>
> If you could give me a reference(a link, name of a book, etc.) to a good
> manual of how to use and manipulate and use SEXP variables in C
> (considering creating R libraries
Thanks for the huge help.
If you could give me a reference(a link, book, etc.) to a good manual of how
to use and manipulate and use SEXP variables in C (considering creating R
libraries).
--
View this message in context:
http://n4.nabble.com/Writing-own-simulation-function-in-C-tp1580190p15967
On 03/06/2010 05:51 AM, Sharpie wrote:
TheSavageSam wrote:
I am wishing to write my own random distribution simulation function using
C programmin language(for speed) via R. I am familiar with R programming
but somewhat new to C programming. I was trying to understand "Writing R
extensions" -gu
TheSavageSam wrote:
>
> I am wishing to write my own random distribution simulation function using
> C programmin language(for speed) via R. I am familiar with R programming
> but somewhat new to C programming. I was trying to understand "Writing R
> extensions" -guide and its part 6.16, but I f
Look in the sources of runif for the C code?
On Fri, Mar 5, 2010 at 3:54 PM, TheSavageSam wrote:
>
> I am wishing to write my own random distribution simulation function using C
> programmin language(for speed) via R. I am familiar with R programming but
> somewhat new to C programming. I was try
I am wishing to write my own random distribution simulation function using C
programmin language(for speed) via R. I am familiar with R programming but
somewhat new to C programming. I was trying to understand "Writing R
extensions" -guide and its part 6.16, but I found it hard to
understand(http:
7 matches
Mail list logo