[ESS] automatically export Rd generated by roxygen to ../man/?

Yihui Xie xie at yihui.name
Mon Sep 27 16:37:02 CEST 2010


I see. Thanks! I've just started to use Emas+ESS to update an old
package, in which the Rd documents were not written with roxygen, so I
only need to generate a specific file this time. In the long run, you
are certainly right -- I should use R CMD roxygen.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Sep 27, 2010 at 5:20 AM, Henning Redestig
<henning.red at googlemail.com> wrote:
>> Suppose I'm editing a source file in a package under the pkgname/R/
>> directory, I've done the roxygen-style documentation, and can C-c C-e
>> C-r to view the Rd source; now my question is, is it possible to
>> export this file (or buffer) to pkgname/man/function_name.Rd? I didn't
>> find any hints in the manual. Thanks a lot!
>>
>> Regards,
>> Yihui
>
> Typically the export of all your roxygen entries in the folder pkgname
> is done by executing 'R CMD roxygen -d pkgname' and not done on a
> file-per-file basis. You can however get single files too, by calling
> C-u C-c C-e C-r the preview is placed in a buffer associated with a file
> with a suitable name. Just save it where you want it.
>
>
> --
>
> /Henning Redestig
>
> Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



More information about the ESS-help mailing list