[R] {stats} package source code - Help in finding repo

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Tue Oct 14 08:52:49 CEST 2025


The official source of R is not on Github, but there is a read-only mirror there: https://github.com/wch/r-source/blob/trunk/src%2Flibrary%2Fstats%2FR%2Fcov.wt.R#L19

On October 13, 2025 11:31:23 AM PDT, Bruno Martins <bruno.silva.martins using hotmail.com> wrote:
>Hello, R team!
>
>My name is Bruno and I am a Data Scientist from Portugal.
>
>An internal package of mine is making use of stats::cov.wt(), which I inspected source code for, but would like to know if the {stats} package source code is available on GitHub? I've looked throughout repos, but can't seem to find it.
>
>I am looking to rewrite my own version in Rcpp, but would like to have more context on the module to implement things right.
>
>Any help here would be greatly appreciated.
>
>Thank you!
>
>Bruno MArtins
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list