[Rd] dynamic array output by .C

From: Tib <tibshirani_at_gmail.com>
Date: Thu 14 Apr 2005 - 21:06:08 GMT


Greetings,

I am building a stochastic simulation model in a C++ shared library for R. My model will generate a random number of new observations and also delete some old observations, however, the numbers cannot be predicted before the computation engine runs. For simplicity, I am trying to control my programming at the second stage (pure C++ for R). It seems .C accepts fixed size of arrays as input (also ouput), can I modify size of array for deleting old and adding new observations in .C?
Thanks in advance.

-- 
I am Tib, not Rob.

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Apr 15 07:09:49 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:03 GMT