[R] Memory allocation using .C interface

Dirk Eddelbuettel edd at debian.org
Wed Apr 9 22:14:55 CEST 2014


Cassiano dos Santos <crns13 <at> gmail.com> writes:
> I am testing a call to a C function from R, using .C interface. The test
> consists in passing a numeric vector to the C function with no entries,
> dynamically allocates n positions, makes attributions and return the 
> vector to R.

Asking on StackOverflow *and* here is considered rude.  

I have tried to answer your question on StackOverflow.

Dirk




More information about the R-help mailing list