Re: [R] a question about writing C extensions to functions

2012-03-18 Thread Uwe Ligges
On 16.03.2012 18:08, Erin Hodgess wrote: Dear R People: I'm not sure if I should ask this here or in Rcpp, Why is this related to Rcpp? but I thought I'd start here first. If I'm writing a C program, when do I know to use SEXP vs. int or float, please? For very short: If you want keep

[R] a question about writing C extensions to functions

2012-03-16 Thread Erin Hodgess
Dear R People: I'm not sure if I should ask this here or in Rcpp, but I thought I'd start here first. If I'm writing a C program, when do I know to use SEXP vs. int or float, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University o