Translation of R documents