Open Source R Software

R Software

R Clear Filters

Browse free open source R Software and projects below. Use the toggles on the left to filter open source R Software by OS, license, language, programming language, and project status.

  • Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
    Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

    Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

    Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
    Try Cloud SQL Free
  • Run Any Workload on Compute Engine VMs Icon
    Run Any Workload on Compute Engine VMs

    From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

    Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
    Try Compute Engine
  • 1
    ggplot2

    ggplot2

    An implementation of the Grammar of Graphics in R

    ggplot2 is a system written in R for declaratively creating graphics. It is based on The Grammar of Graphics, which focuses on following a layered approach to describe and construct visualizations or graphics in a structured manner. With ggplot2 you simply provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it will take care of the rest. ggplot2 is over 10 years old and is used by hundreds of thousands of people all over the world for plotting. In most cases using ggplot2 starts with supplying a dataset and aesthetic mapping (with aes()); adding on layers (like geom_point() or geom_histogram()), scales (like scale_colour_brewer()), and faceting specifications (like facet_wrap()); and finally, coordinating systems. ggplot2 has a rich ecosystem of community-maintained extensions for those looking for more innovation. ggplot2 is a part of the tidyverse, an ecosystem of R packages designed for data science.
    Downloads: 23 This Week
    Last Update:
    See Project
  • 2
    Introduction to Zig

    Introduction to Zig

    An open, technical and introductory book for the Zig programming lang

    This is the official repository for the book "Introduction to Zig: a project-based Book", written by Pedro Duarte Faria. To know more about the book, check out the About this book section below. You can read the current version of the book in your web browser. The book is built using the publishing system Quarto in conjunction with a little bit of R code (zig_engine.R), which is responsible for calling the Zig compiler to compile and run the Zig code examples.
    Downloads: 15 This Week
    Last Update:
    See Project
  • 3
    R Source

    R Source

    Read-only mirror of R source code

    The wch/r-source repository is a read-only mirror of the official R language source code, maintained to reflect the upstream Subversion (SVN) R core development tree. This mirror provides public visibility into R’s internals—everything from the interpreter, base and recommended packages, documentation, and C/Fortran code under the hood. It is updated hourly to stay in sync with the upstream SVN. Although it mirrors the R source for browsing and reference, it is not the “canonical development repo* (i.e. you can’t submit pull requests via that mirror). The repository includes build instructions, the full directory structure (src, src/library, doc, etc.), licensing information (GPL-2.0), and documentation. Developers, package authors, and curious users often browse this mirror to inspect implementation details, debug issues, or see how base functions are implemented in C or Fortran.
    Downloads: 11 This Week
    Last Update:
    See Project
  • 4
    R4DS (R for Data Science)

    R4DS (R for Data Science)

    R for data science: a book

    “R for Data Science” (r4ds) is the source material (book + examples) by Hadley Wickham et al., intended to teach data science using R and the tidyverse. It covers the workflow from importing data, tidying, transforming, visualizing, modelling, communicating results, and programming in R. The repository contains the source files (Quarto / RMarkdown), example datasets, visualizations, exercises, and all content needed to build the book. Includes many example datasets, diagrams, code samples, and “hands-on” exercises. Comprehensive coverage of data-science workflow: data import, cleaning, transformation, exploration, modelling etc. Includes topics beyond basics: relational data (joins), date/time, strings, working with missing values, visualizing data, etc.
    Downloads: 7 This Week
    Last Update:
    See Project
  • Go from Data Warehouse to Data and AI platform with BigQuery Icon
    Go from Data Warehouse to Data and AI platform with BigQuery

    Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

    BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
    Try BigQuery Free
  • 5
    LabPlot

    LabPlot

    Data Visualization and Analysis

    LabPlot is a FREE, open source and cross-platform Data Visualization and Analysis software accessible to everyone.
    Downloads: 46 This Week
    Last Update:
    See Project
  • 6
    forecast

    forecast

    Forecasting Functions for Time Series and Linear Models

    The forecast package is a comprehensive R package for time series analysis and forecasting. It provides functions for building, assessing, and using univariate forecasting models (e.g. ARIMA, exponential smoothing, etc.), tools for automatic model selection, diagnostics, plotting, forecasting future values, etc. It's widely used in statistics, economics, business forecasting, environmental science, etc. Exponential smoothing state space models (ETS) including seasonal components. Residual checks, model accuracy, plots, forecast error measures etc.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 7
    rmarkdown

    rmarkdown

    Dynamic Documents for R

    R Markdown is an R package for creating dynamic, reproducible documents that combine code (R, Python, SQL, etc.), results (figures, tables), and narrative text. Built on Knitr and Pandoc, it supports generating HTML, PDF, Word, slideshows, dashboards, and more. It’s widely used in data science and reproducible reporting workflows.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 8
    TinyTeX

    TinyTeX

    Cross-platform, portable, and easy-to-maintain LaTeX distribution

    A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live. TinyTeX, is a custom LaTeX distribution based on TeX Live that is small in size but still functions well in most cases. Even if you run into the problem of missing LaTeX packages, it should be super clear to you what you need to do. In fact, if you are an R Markdown user, there is nothing you need to do, because missing packages will just be installed automatically. You may not even know the existence of LaTeX at all since it should rarely bother you. Currently, TinyTeX works best for R users. Other users can use it, too—it is just that missing LaTeX packages won’t be automatically installed, and you need to install them manually. Or you can go to the extreme to install all packages, but remember there are thousands of them.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    httr

    httr

    httr: a friendly http package for R

    httr is superseded: only changes necessary to keep it on CRAN will be made. We recommend using httr2 instead. The aim of httr is to provide a wrapper for the curl package, customized to the demands of modern web APIs. Functions for the most important http verbs: GET(), HEAD(), PATCH(), PUT(), DELETE() and POST(). Automatic connection sharing across requests to the same website (by default, curl handles are managed automatically), cookies are maintained across requests, and an up-to-date root-level SSL certificate store is used. Requests return a standard reponse object that captures the http status line, headers and body, along with other useful information. Support for OAuth 1.0 and 2.0 with oauth1.0_token() and oauth2.0_token(). The demo directory has eight OAuth demos: four for 1.0 (twitter, vimeo, withings and yahoo) and four for 2.0 (facebook, github, google, linkedin). OAuth credentials are automatically cached within a project.
    Downloads: 3 This Week
    Last Update:
    See Project
  • Build AI Apps with Gemini 3 on Vertex AI Icon
    Build AI Apps with Gemini 3 on Vertex AI

    Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

    Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
    Try Vertex AI Free
  • 10
    ExData Plotting1

    ExData Plotting1

    Plotting Assignment 1 for Exploratory Data Analysis

    This repository explores household energy usage over time using the “Individual household electric power consumption” dataset from the UC Irvine Machine Learning Repository. The dataset covers nearly four years of minute-level measurements, including power consumption, voltage, current intensity, and detailed sub-metering values for different household areas. For analysis, focus is placed on a two-day period in February 2007, highlighting short-term consumption trends. The data requires careful handling due to its size of more than 2 million rows and coded missing values. By processing the date and time fields into proper formats, it becomes possible to generate clear time-series plots of energy usage. The repository demonstrates effective exploratory data analysis practices in R with a reproducible workflow for transforming raw data into visual insights.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 11
    ComplexHeatmap

    ComplexHeatmap

    Make Complex Heatmaps

    ComplexHeatmap is an R/Bioconductor package by Zuguang Gu et al. designed to create highly flexible, complex, richly annotated heatmaps and related visualizations. It allows arranging multiple heatmaps, adding annotations, combining heatmaps, customizing colors, layouts, and integrating other plots. Often used in genomics/bioinformatics to show expression, methylation, etc., with sidebars, annotations, clustering, etc. Highly customizable layout: combining different heatmaps, arranging and splitting, dealing with multiple heatmap merges, combining with other plots etc. Integration with Shiny / interactive heatmaps via companion packages (InteractiveComplexHeatmap) to allow interactivity, etc.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 12
    Data Science Specialization

    Data Science Specialization

    Course materials for the Data Science Specialization on Coursera

    The Data Science Specialization Courses repository is a collection of materials that support the Johns Hopkins University Data Science Specialization on Coursera. It contains the source code and resources used throughout the specialization’s courses, covering a broad range of data science concepts and techniques. The repository is designed as a shared space for code examples, datasets, and instructional materials, helping learners follow along with lectures and assignments. It spans essential topics such as R programming, data cleaning, exploratory data analysis, statistical inference, regression models, machine learning, and practical data science projects. By providing centralized resources, the repo makes it easier for students to practice concepts and replicate examples from the curriculum. It also offers a structured view of how multiple disciplines—programming, statistics, and applied data analysis—come together in a professional workflow.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    NYC Taxi Data

    NYC Taxi Data

    Import public NYC taxi and for-hire vehicle (Uber, Lyft)

    The nyc-taxi-data repository is a rich dataset and exploratory project around New York City taxi trip records. It collects and preprocesses large-scale trip datasets (fares, pickup/dropoff, timestamps, locations, passenger counts) to enable data analysis, modeling, and visualization efforts. The project includes scripts and notebooks for cleaning and filtering the raw data, memory-efficient processing for large CSV/Parquet files, and aggregation workflows (e.g. trips per hour, heatmaps of pickups/dropoffs). It also contains example analyses—spatial and temporal visualizations like maps, time-series plots, and hotspot detection—highlighting insights such as patterns of demand, peak times, and geospatial distributions. The repository is often used as a benchmark dataset and example for teaching, benchmarking, and demonstration purposes in the data science and urban analytics communities.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    Open Intro Statistics

    Open Intro Statistics

    An open-source textbook written at the college level

    OpenIntro Statistics is a dynamic take on the traditional curriculum, being successfully used at Community Colleges to the Ivy League. Each chapter's content is in one of the eight chapter folders that start with "ch_". Within each folder, there is a "figures" folder and a "TeX" folder. The TeX folder contains the text files that are used to typeset the chapters in the textbook. In many cases, R code is supplied with figures to regenerate the figure. It will often be necessary to install the "openintro" R package that is available from GitHub (https://github.com/OpenIntroOrg) if you would like to regenerate a figure. Other packages may also occasionally be required.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    ProgrammingAssignment2

    ProgrammingAssignment2

    Repository for Programming Assignment 2 for R Programming on Coursera

    This repository contains the second programming assignment for an R course, focused on caching expensive computations by leveraging R’s scoping rules. The assignment walks you through creating a special matrix object that stores both a matrix and its cached inverse, avoiding repeated calls to costly operations. It builds on a worked example that caches the mean of a numeric vector, demonstrating how the operator preserves state across function calls. You then implement analogous logic for matrices via two functions, one to construct the cache-aware object and another to compute or retrieve the cached inverse. The instructions emphasize using solve for inversion and assuming that the supplied matrix is always invertible. The repository outlines the workflow for forking, editing the provided R stub, committing your solution, and submitting your repository URL as the final deliverable.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    RStudio Cheatsheets

    RStudio Cheatsheets

    Curated collection of official cheat sheets for data science tools

    The cheatsheets repository from RStudio is a curated collection of official cheat sheets for R, RStudio, the tidyverse, Shiny, and related data science tools. Each cheat sheet is a single (or double) page PDF that condenses important syntax, functions, workflows, and best practices into a visually organized format ideal for quick reference. The repository contains source files (R Markdown or LaTeX) that generate the cheat sheets, version history, and metadata (title, author, description) for each. It covers topics such as data wrangling, data import, modeling, visualization, RStudio IDE shortcuts, Shiny development, and the tidyverse suite (dplyr, ggplot2, tidyr, purrr). These cheat sheets are widely used by R learners, educators, and practitioners as quick reference tools, and they often ship with RStudio by default or are linked from RStudio’s help/documentation pages. Users can also contribute new cheat sheet proposals, corrections, or translations via pull requests.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    Readr

    Readr

    Read flat files (csv, tsv, fwf) into R

    readr is an R package that provides a fast and friendly way to read rectangular data, such as CSV and TSV files. Part of the Tidyverse, it simplifies data import and parsing tasks in R.​
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    Shiny

    Shiny

    Build interactive web apps directly from R with Shiny framework

    Shiny is an R package from RStudio that enables users to build interactive web applications using R without requiring knowledge of JavaScript, HTML, or CSS. It allows statisticians and data scientists to turn their analyses into fully functional web dashboards with reactive elements, data inputs, visualizations, and controls, making data communication more effective and dynamic.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    Wes Anderson Palettes

    Wes Anderson Palettes

    A Wes Anderson color palette for R

    Tired of generic mass produced palettes for your plots? Short of adding an owl and dressing up your plot in a bowler hat, here’s the most indie thing you can do to one. The first round of palettes derived from the amazing Tumblr blog Wes Anderson Palettes.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    blavaan

    blavaan

    An R package for Bayesian structural equation modeling

    blavaan is a free, open-source R package for Bayesian latent variable analysis. It relies on JAGS and Stan to estimate models via MCMC. The blavaan functions and syntax are similar to lavaan. The development version of blavaan (containing updates not yet on CRAN) can be installed via the command provided in the documentation. Compilation is required; this may be a problem for users who currently rely on a binary version of blavaan from CRAN. The blavaan package depends on the lavaan package for model specification and for some computations. This means that, if you already know lavaan, then you should already be able to do many things in blavaan. In particular, many blavaan commands add the letter “b” to the start of the lavaan command. It is also sometimes possible to use a lavaan command on a blavaan object, though the results may not always be what you expect.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    dplyr

    dplyr

    dplyr: A grammar of data manipulation

    dplyr is an R package that provides a consistent and intuitive grammar for data manipulation, enabling users to filter, arrange, summarize, and transform data efficiently. Part of the tidyverse ecosystem, dplyr simplifies complex data operations through a clear and readable syntax, whether working with data frames, tibbles, or databases. It is widely used in data science and statistical analysis workflows.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    ggpubr

    ggpubr

    'ggplot2' Based Publication Ready Plots

    ggpubr is an R package that provides easy-to-use wrapper functions around ggplot2 to create publication-ready visualizations with minimal code. It streamlines plot creation for researchers and analysts, allowing features such as statistical annotation, theme customization, and plot arrangement with fewer lines of code.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    janitor

    janitor

    Simple tools for data cleaning in R

    janitor provides simple, convenient tools for data cleaning, formatting, and exploration in R. It is especially useful for cleaning messy data frames, removing duplicates, formatting column names, and producing frequency tables in a tidy workflow.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    knitr

    knitr

    A general-purpose tool for dynamic report generation in R

    knitr is an R package that acts as a literate programming engine, combining code execution and document generation. It executes code embedded in Markdown, LaTeX, or other formats and produces output with results interleaved into final documents. It powers R Markdown and supports caching, chunk options, graphics, and extensibility for reproducible analysis.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    mathpix

    mathpix

    Query the mathpix API to convert math images to LaTeX

    Query the mathpix API to convert math images to LaTeX.
    Downloads: 1 This Week
    Last Update:
    See Project
MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →