How do I find R code for R functions?

This page summarizes the projects mentioned and recommended in the original post on /r/rprogramming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • r-source

    R Source Code (by SurajGupta)

    Sure, will do my best! I'm not familiar with program verification / Isabelle, however if you take a look at the source code for the optim family of functions, you'll see that the last line of the function calls `.External2()`, which is similar to `.Call()|`. Both these functions allow R to call compiled C code, which means some of the work being done in these functions happens in this C code.

  • dplyr

    dplyr: A grammar of data manipulation

    There are two ways you can generally see the source code for packages. The simplest is to look for the github repository for the package (assuming it exists). For dplyr, it's here. Easiest way to find these is to google search "r github" plus the name of the package. Usually it'll be one of the first results. The github repo would also usually be linked on the package's CRAN page. However, be aware that this may be a development version of the package and not the same version that is currently released on CRAN (e.g. dplyr on CRAN is version 1.0.10, but on github it is listed as version 1.0.99.9000, which will probably become version 1.1.0 when it is released onto CRAN).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts