purrr enhances R’s functional programming capabilities by providing a consistent set of tools for working with lists and vectors, enabling safer and more expressive iteration compared to base R’s loop functions.

Features

  • map(), map2(), pmap() functions for iteration over vectors and lists
  • walk() for side-effects (e.g., plotting) without return values
  • map_if(), map_at() for conditional or scoped mapping
  • Function wrappers: safely(), quietly(), possibly() for robust execution
  • Consistent output: lists, vectors, data frames via map_df()
  • Integrates with tidyverse pipelines and plays well with dplyr

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow purrr

purrr Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of purrr!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

R

Related Categories

R Software Development Software

Registered

2025-07-30