[Roxygen-devel] Roxygen - question

Peter Danenberg pcd at roxygen.org
Tue Nov 18 15:20:55 CET 2008


> Starting with small steps and a single file with R code, it is just
> not clear to me how to proceed with having the .Rd files generated.

The top-level Roxygen script expects a package, which you can generate
automatically around a single file with:

    package.skeleton('package', code_files='file.R')

If you want to forgo the package, however, you can operate on a single
file followingly:

    library(roxygen)
    make.Rd.roclet()$parse('file.R')

which will output an Rd translation (you can judge how useful that is
sans package).

Best, Peter


More information about the Roxygen-devel mailing list