[R] Writing R packages in an easier way?

Michael Friendly friendly at yorku.ca
Sat Feb 12 00:30:31 CET 2011


On 2/11/2011 2:52 AM, Dr. Michael Wolf wrote:
> Dear R colleagues,
>
...
>  From the point of the costs e. g. I had to learn writing help files in
> a TeX-like language. But I'm the typical Word user. My last TeX writings
> were done in the 1990s! If I'm changing only a letter in a source file
> (r-file or help file) I've to build a new package. Seeing the results in
> my eyes this is a very expansive way. It's easier to me to write those
> files in HTML and to change the HTML source code. I don't need help
> files in Rd format.
>

You can make things a whole lot easier by using prompt() to write the 
skeletons of the .Rd files.  Then you have a ready-made template for
your function or data and only need to fill in the details.  Once you
try this, you'll find it's not really any different than HTML markup.

?prompt



More information about the R-help mailing list