On 11-04-24 12:51 PM, Tal Galili wrote:
Hello all,

I wish to offer a patch to a help page (specifically ?update.packages).
Might you please direct me as to where to find the file, and how might it be
best to edit it? (on windows)

(My apologies for the n00b question...)

In the R sources, the help pages are stored in src/library/<package>/man, or occasionally in a platform-specific subdirectory of that. Since update.packages is in the utils package, that would be src/library/utils/man. The name of the page is "update.packages", so a first guess would be to look in a file called "update.packages.Rd", and that is indeed the right file.

Generally if you are putting together a patch, you should get agreement on the R-devel list that the change is worth making before putting a lot of effort into it, because not all patches are accepted. If it is a very minor thing (e.g. correcting a typo), the simplest thing is to post the suggested correction to the R-devel list.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to