Hi all, the same code when timed in cpp (i.e. without any interfacing with R) runs about 2 times faster than when called from R and timed from R's system.time(). In this type of overhead normal or is it a sign i'm doing something not optimally? Best,