R: add namespace for raytracing c++ files (#523).