Skip to content

fastverse/fastverse.r-universe.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

fastverse R-universe

:name status badge :packages status badge

This R-universe repository provides development versions of high-performance R packages for statistical computing and data manipulation, built daily from their GitHub sources for all major platforms (Windows, macOS, Linux).

🌐 Browse packages: https://fastverse.r-universe.dev

Installation

Install any package from this universe by adding https://fastverse.r-universe.dev to your repos:

install.packages("collapse", repos = c("https://fastverse.r-universe.dev", "https://cloud.r-project.org"))

To install multiple packages:

install.packages(
  c("collapse", "data.table", "kit", "fastverse"),
  repos = c("https://fastverse.r-universe.dev", "https://cloud.r-project.org")
)

Set as Default Repository

Add to your ~/.Rprofile to always use this universe:

options(repos = c(
  fastverse = "https://fastverse.r-universe.dev",
  CRAN = "https://cloud.r-project.org"
))

Core Packages

The fastverse installs with 4 core packages (5 dependencies in total) which provide broad C/C++ based statistical and data manipulation functionality and have carefully managed APIs:

  • data.table: Enhanced data frame class with concise data manipulation framework offering powerful aggregation, update, reshaping, (rolling) joins, rolling statistics, set operations on tables, fast csv read/write, and various utilities such as data transposition/stringsplit-transpose.

  • collapse: Fast grouped and weighted statistical computations, time series and panel data transformations, list-processing, data manipulation functions (incl. fast joins and pivots), summary statistics, and various utilities for efficient programming. Class-agnostic framework designed to work with vectors, matrices, data frames, lists and related classes including xts, data.table, tibble, and sf.

  • kit: Parallel (row-wise) statistical functions, vectorized and nested switches, and some utilities such as efficient partial sorting.

  • magrittr: Efficient pipe operators and aliases for enhanced R programming and code un-nesting.

Suggested Extensions

The packages below can extend the core fastverse and are also available from this repository.

Time Series

Package Description
xts Extensible time series class and methods
roll Rolling and expanding statistics using parallel algorithms

Dates and Times

Package Description
fasttime Fast utility function for parsing date-time strings
lubridate Functions to work with date-times and time-spans
clock Comprehensive library for date-time manipulations
anytime Parse anything into date-time
nanotime Nanosecond-resolution time for R
timechange Efficient manipulation of date-times

Strings

Package Description
stringi Fast and portable character string processing
stringfish Alt-rep string vectors for performant string storage
stringdist Approximate string matching and string distance functions
snakecase Convert strings to any case

Statistics and Computing

Package Description
matrixStats Functions operating on rows and columns of matrices
Rfast Collection of efficient and fast R functions
Rfast2 Collection of efficient and fast R functions (2)
fastmatrix Fast computation of matrix operations
matrixTests Fast statistical hypothesis tests on matrix rows/columns
parallelDist Parallel distance matrix computation
coop Fast covariance, correlation, and cosine similarity
RcppAlgos High-performance combinatorics and computational mathematics
dqrng Fast pseudo-random number generators
cheapr Memory-efficient R functions
SLmetrics Machine learning evaluation metrics
vctrs Vector helpers
broadcast Broadcasting operations
rrapply Recursive apply for nested lists
fastmatch Fast match() function
fastmap Fast hash maps
collections High-performance container data types
stdvectors C++ vector types in R
MatrixExtra Extra methods for sparse matrices
hutilscpp Miscellaneous C++ utilities
fst Lightning fast serialization of data frames
qs Quick serialization of R objects
vroom Fast reading of delimited files
arrow Integration with Apache Arrow
polars Lightning-fast DataFrame library
duckplyr DuckDB-backed dplyr
fixest Fast fixed-effects estimations
mirai Minimalist async evaluation framework

Spatial

Package Description
sf Simple features for R
geos Open source geometry engine
terra Spatial data analysis
stars Spatiotemporal arrays
s2 Spherical geometry operators
dggridR Discrete global grids
exactextractr Fast extraction from rasters
geodist Fast geodesic distances
cppRouting Fast algorithms for routing and shortest paths
igraph Network analysis and visualization

Visualization

Package Description
tinyplot Lightweight extension of base R graphics
ggplot2 Create elegant data visualizations
lattice Trellis graphics for R
scales Scale functions for visualization
scattermore Very fast scatterplots for millions of points
ggrastr Rasterize ggplot2 layers for large data

Speeding up R

Package Description
inline Functions to inline C, C++, Fortran code in R
ast2ast Translate R to C++
r2c Fast grouped-operations through compilation
odin ODE generation and compilation
quickr R to Fortran transpiler

R Bindings to Faster Languages

Package Description
Rcpp Seamless R and C++ integration
cpp11 A header-only C++11 interface for R
tidyCpp Tidy C++ wrapping of the C API of R
rextendr Interface to Rust
JuliaCall Seamless integration between R and Julia
JuliaConnectoR Functionally oriented interface for Julia
XRJulia Structured interface to Julia

Tidyverse-like Data Manipulation built on data.table

Package Description
tidytable Tidy interface to data.table (rlang compatible)
dtplyr data.table backend for dplyr
tidyfst Tidy verbs for fast data manipulation
tidyft Tidy verbs for fast data operations by reference
tidyfast Fast tidying of data
maditr Pipe-friendly data.table wrapper
table.express Build data.table expressions with dplyr verbs

Tidyverse-like Data Manipulation built on collapse

Package Description
fastplyr Fast dplyr-style verbs powered by collapse
timeplyr Fast time-based data manipulation and aggregation

Why Use R-universe?

  • Latest development versions built daily from GitHub
  • Pre-compiled binaries for Windows, macOS (Intel & ARM), and Linux
  • Faster installation compared to installing from source
  • No compilation required on your machine

More Information

About

R-Universe Server to Explore Fastverse Packages and Install Development Versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •