DTM SAMPLES: pass input parameters (ids) to r code.