[R] Parsing R matrix to C

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 30 11:55:23 CEST 2003


daniel.ielpo at uniriotec.br wrote:

> I'm developing a C dll to use as a package in R. I need to parse a R Matrix as 
> a parameter to a function in a dll. I´d like to know how can I use the Sexp 
> type and how to handle this as a matrix in the C code.

There are several examples in the R sources, just read the code and go on.

Uwe Ligges


> Sorry for the bad english.
> 
> Thanks,
> 
> Daniel Ielpo
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list