Thanks, Dirk. Would it matter if I initialize the values in the array to missing (NA_REAL)? Barth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20181029/94d8fddc/attachment.html>