[Rcpp-devel] 4D IntegerVector constructor

Chris DuBois chris.dubois at gmail.com
Fri Jan 20 19:13:44 CET 2012


Hi all,

There was some discussion a few weeks ago about array objects.  Dirk
pointed out that one can construct a 3d array with dims (5,3,4)
using IntegerVector( Dimension( 5,3,4 ) ).  This works, but this doesn't
seem to work for creating 4d arrays.  The unit tests show examples of
constructing 1, 2, and 3 dimension arrays (in runit.Vector.R).

Is this feature hidden or unimplemented?  If unimplemented, is there a work
around or a way to contribute?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120120/e0c3c8dd/attachment.htm>


More information about the Rcpp-devel mailing list