[R] Go (back) from Rd to roxygen

Hadley Wickham hadley at rice.edu
Fri Nov 26 03:09:41 CET 2010


> Since roxygen is a great help to document R packages, I am wondering
> if there exists an approach to go back from the raw Rd files to
> roxygen-documentation? E.g. turn "\author{Somebody}" into "@author
> Somebody". This sounds ridiculous, but I believe it helps in the long
> term for me to maintain R packages.

Have a look at https://gist.github.com/d1bbd44894a99a2e1d1b for a start.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list