{"id":13834848,"url":"https://github.com/pola-rs/r-polars","last_synced_at":"2026-04-26T17:01:08.693Z","repository":{"id":65252725,"uuid":"582387164","full_name":"pola-rs/r-polars","owner":"pola-rs","description":"Polars R bindings","archived":false,"fork":false,"pushed_at":"2026-04-21T12:59:11.000Z","size":9824,"stargazers_count":562,"open_issues_count":57,"forks_count":40,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-04-21T14:46:29.593Z","etag":null,"topics":["arrow","polars","r","rust"],"latest_commit_sha":null,"homepage":"https://pola-rs.github.io/r-polars/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pola-rs.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-26T17:02:43.000Z","updated_at":"2026-04-21T10:40:46.000Z","dependencies_parsed_at":"2023-09-22T14:26:57.173Z","dependency_job_id":"e50dc141-3bc9-4383-9108-9e33a757ae7a","html_url":"https://github.com/pola-rs/r-polars","commit_stats":null,"previous_names":[],"tags_count":144,"template":false,"template_full_name":null,"purl":"pkg:github/pola-rs/r-polars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pola-rs%2Fr-polars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pola-rs%2Fr-polars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pola-rs%2Fr-polars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pola-rs%2Fr-polars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pola-rs","download_url":"https://codeload.github.com/pola-rs/r-polars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pola-rs%2Fr-polars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrow","polars","r","rust"],"created_at":"2024-08-04T14:00:52.962Z","updated_at":"2026-04-26T17:01:08.674Z","avatar_url":"https://github.com/pola-rs.png","language":"R","funding_links":[],"categories":["Libraries/Packages/Scripts","Polars Bindings","R"],"sub_categories":["R"],"readme":"---\noutput:\n  github_document:\n    html_preview: false\n# used by altdoc\ndefault-image-extension: ''\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# polars _(R Polars)_\n\n\u003c!-- TODO: add link to discord --\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-multiverse status](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fcommunity.r-multiverse.org%2Fapi%2Fpackages%2Fpolars\u0026query=%24.Version\u0026label=r-multiverse)](https://community.r-multiverse.org/polars)\n[![R-universe status](https://rpolars.r-universe.dev/polars/badges/version)](https://rpolars.r-universe.dev/polars)\n[![CRAN status](https://www.r-pkg.org/badges/version/polars)](https://CRAN.R-project.org/package=polars)\n[![Docs dev version](https://img.shields.io/badge/docs-dev-blue.svg)](https://pola-rs.github.io/r-polars)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/pola-rs/r-polars)\n\u003c!-- badges: end --\u003e\n\nPolars is a blazingly fast DataFrame library, written in Rust.\n\nThe goal of Polars is to deliver fast, efficient data processing that:\n\n- Utilizes all available cores on your machine.\n- Optimizes queries to reduce unneeded work/memory allocations.\n- Handles datasets much larger than your available RAM.\n- Follows a consistent and predictable API.\n- Adheres to a strict schema (data-types should be known before running the query).\n\nThis polars R package provides the R bindings for Polars.\nIt can be used to process Polars DataFrames and other data structures,\nconvert objects between Polars and R, and can be integrated with other common R packages.\n\nTo learn more, read the [online documentation](https://pola-rs.github.io/r-polars/) for this R package,\nand the [user guide](https://docs.pola.rs/) for Python/Rust Polars.\n\n## Install\n\nThe recommended way to install this package is from the R-multiverse community repository:\n\n```r\nSys.setenv(NOT_CRAN = \"true\")\ninstall.packages(\"polars\", repos = \"https://community.r-multiverse.org\")\n```\n\nMore recent (development) version may be installed from the rpolars R-universe repository:\n\n```r\nSys.setenv(NOT_CRAN = \"true\")\ninstall.packages('polars', repos = c(\"https://rpolars.r-universe.dev\", \"https://cloud.r-project.org\"))\n```\n\n## Usage\n\nTo avoid conflicts with other packages and base R function names, many of polars'\nfunctions are hosted in the `pl` environment, and accessible via the `pl$` prefix.\nMost of the functions for polars objects should be chained with the `$` operator.\n\nAdditionally, the majority of the functions are intended to match the Python Polars API.\n\nThese mean that Polars queries written in Python and in R are very similar.\n\nFor example, writing the [example from the user guide of Python/Rust](https://docs.pola.rs/#example)\nin R:\n\n```{r}\nlibrary(polars)\n\n# Prepare a CSV file\ncsv_file \u003c- tempfile(fileext = \".csv\")\nwrite.csv(iris, csv_file, row.names = FALSE)\n\n# Create a query plan (LazyFrame) with filtering and group aggregation\nq \u003c- pl$scan_csv(csv_file)$filter(pl$col(\"Sepal.Length\") \u003e 5)$group_by(\n  \"Species\",\n  .maintain_order = TRUE\n)$agg(pl$all()$sum())\n\n# Execute the query plan and collect the result as a Polars DataFrame\ndf \u003c- q$collect()\n\ndf\n```\n\nThere are also some functions to manipulate polars objects using base R and some popular other packages.\n\n```{r}\n# Subset a Polars DataFrame using the `[` operator\ndf[1:2, 1:2]\n\n# Execute a query plan and collect the result as a tibble data frame\ntibble::as_tibble(q)\n```\n\n```{r}\n#| echo: false\nunlink(csv_file)\n```\n\nThe [Get Started vignette](https://pola-rs.github.io/r-polars/vignettes/polars.html)\n(`vignette(\"polars\")`) provides a more detailed introduction.\n\n## Extensions\n\nWhile one can use this package as-is, other packages build on it to\nprovide different APIs:\n\n- [polarssql](https://rpolars.github.io/r-polarssql/) provides a polars\n  backend for [DBI](https://dbi.r-dbi.org/) and [dbplyr](https://dbplyr.tidyverse.org/).\n- [tidypolars](https://tidypolars.etiennebacher.com/) allows one to\n  use the [tidyverse](https://www.tidyverse.org/) syntax while using the power of polars.\n\n## Maintainers\n\n- [SHIMA Tatsuya](https://github.com/eitsupi)\n- [Etienne Bacher](https://github.com/etiennebacher)\n\n[Version 0 of R Polars](https://github.com/rpolars/r-polars0) was previously maintained by\n[Søren Havelund Welling](https://github.com/sorhawell).\n\n## Acknowledgements\n\nThis package is based on the [Polars open source project](https://github.com/pola-rs/polars),\noriginally founded by [Ritchie Vink](https://github.com/ritchie46) and developed by many contributors.\n\n## License\n\nMIT @ polars authors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpola-rs%2Fr-polars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpola-rs%2Fr-polars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpola-rs%2Fr-polars/lists"}