export R to TD