> NumericVector:::iterator is actually alias to double*. Here is a trick > (probably does not work on not gcc compilers): Ah, interesting - thanks! Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/