sparklyr/sparklyr
R interface for Apache Spark
What it solves
sparklyr provides an R interface for Apache Spark, allowing R users to perform large-scale data processing and machine learning on Spark clusters without needing to leave the R environment. It bridges the gap between R's analytical capabilities and Spark's distributed computing power.
How it works
The package enables users to connect to Spark instances (local or remote) via various managers like YARN, Mesos, Livy, or Kubernetes. It integrates with the dplyr package, allowing users to write R code that is automatically translated into Spark SQL and executed on the cluster. It also provides a DBI interface for direct SQL queries and a set of high-level APIs for Spark's machine learning library (MLlib).
Who it’s for
Data scientists and analysts who use R and need to process datasets that are too large for a single machine's memory, or who want to to leverage Spark's distributed machine learning pipelines.
Highlights
- dplyr Integration: Use familiar R data manipulation verbs to filter and aggregate Spark datasets and streams.
- Distributed R: Execute arbitrary R code across a cluster using
spark_apply(). - ML Pipelines: Orchestrate machine learning algorithms and feature transformations directly in Spark.
- Flexible Connectivity: Connect to local instances or remote clusters via YARN, Mesos, Livy, or Kubernetes.
- Extensibility: Support for creating extensions that call the full Spark API or run distributed R code.
Related
- Project
- Project
- Project
- Project