Skip to content
Prev 6062 / 10988 Next

[Rcpp-devel] returning array from C

On Tuesday, June 11, 2013 9:21 PM, Krzysztof Sakrejda wrote:

            
Thanks to everyone for your very helpful comments.

It seems clear there is no easy way to make an object "look like" a numeric vector to R unless it *is* a numeric vector.
It was clear from the start that the simplest and safest approach would be to copy the data to R (using Rcpp::wrap). The best alternative, it seems, might be to try converting the data into an ff object. But that's a can of worms which I will leave for another day.

Thanks once again to all those knowledgeable folks who so quickly provided the needed information.

Steve
Message-ID: <C03F8157B6DECC428DE8D36DC5F9244114F0DDB8DA@DFW1MBX03.mex07a.mlsrvr.com>
In-Reply-To: <CAJCSVaDoYeGL+fWhsqsv3dFVj23QyrUNUwt7on0FAb+7bviezA@mail.gmail.com>