[R-pkg-devel] Tools beyond roxygen2 to write Rd documentation

Avraham Adler @vr@h@m@@d|er @end|ng |rom gm@||@com
Thu Aug 5 11:16:19 CEST 2021


I always write mine by hand. Used to do it in notepad++. Now I just do it
as a text file in the Rstudio IDE.

Avi

On Thu, Aug 5, 2021 at 11:52 AM Martin Maechler <maechler using stat.math.ethz.ch>
wrote:

> >>>>> Iago Giné-Vázquez
> >>>>>     on Thu, 05 Aug 2021 08:09:48 +0000 writes:
>
>     > Dear all, Are there any tools to edit .Rd files by hand
>     > (so avoiding roxygen2), as an editor (like could be
>     > *RdStudio*, à la RStudio or TeXstudio) or a plugin for ViM
>     > or another editor (like could be *vim-Rd*, à la
>     > vim-latex)?
>
>     > Thanks for your answers,
>
>     > Stay safe, Iago
>
> Yes, of course:
> "All good" R package authors edit *.Rd files by hand
> ((;-), well no, I know it's not true ..
>  I personally use roxygen (in ESS, see below) only sometimes at the very
>  beginning of writing a new function, or for functions that I
>  do *not* export, because there's a nice key stroke to create
>  the outline). ... and if I export that function use the
>  Roxygen -> Rd *once* only, and from then on, I edit the *.Rd nicely
>  including using descriptions lists, some math, etc... all well
>  indented, nicely human-readable etc, much nicer than hidden in
>  roxygen R comments)
>
> Rstudio has supported *.Rd in the past but as I'm not using it
> regularly .. I don't know if they dropped it now... that would
> honestly surprise me, though.
>
> Rather  ESS (Emacs Speaks Statistics) has always well supported
> Rd editing, and I thought the  vim - plugin for R would also
> support *.Rd  but probably not ??
>
> Best,
> Martin
>
> --
> Martin Maechler
> ETH Zurich,  R Core Team  (*and* ESS Core team)
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
-- 
Sent from Gmail Mobile

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list