## magrittr - A Forward-Pipe Operator for R

Provides a mechanism for chaining commands with a new forward-pipe operator, %>%. This operator will forward a value, or the result of an expression, into the next function call/expression. There is flexible support for the type of right-hand side expressions. For more information, see package vignette. To quote Rene Magritte, "Ceci n'est pas un pipe."

Last updated 2 years ago

pipe

957 stars 21.21 score 0 dependencies 12845 dependents## Rcpp - Seamless R and C++ Integration

The 'Rcpp' package provides R functions as well as C++ classes which offer a seamless integration of R and C++. Many R data types and objects can be mapped back and forth to C++ equivalents which facilitates both writing of new code as well as easier integration of third-party libraries. Documentation about 'Rcpp' is provided by several vignettes included in this package, via the 'Rcpp Gallery' site at <https://gallery.rcpp.org>, the paper by Eddelbuettel and Francois (2011, <doi:10.18637/jss.v040.i08>), the book by Eddelbuettel (2013, <doi:10.1007/978-1-4614-6868-4>) and the paper by Eddelbuettel and Balamuta (2018, <doi:10.1080/00031305.2017.1375990>); see 'citation("Rcpp")' for details.

Last updated 7 days ago

c-plus-plusc-plus-plus-11c-plus-plus-14c-plus-plus-17c-plus-plus-20rcpp

728 stars 20.97 score 0 dependencies 12123 dependents## vctrs - Vector Helpers

Defines new notions of prototype and size that are used to provide tools for consistent and well-founded type-coercion and size-recycling, and are in turn connected to ideas of type- and size-stability useful for analysing function interfaces.

Last updated 12 days ago

s3-vectors

284 stars 20.92 score 4 dependencies 12210 dependents## cpp11 - A C++11 Interface for R's C Interface

Provides a header only, C++11 interface to R's C interface. Compared to other approaches 'cpp11' strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with 'ALTREP' vectors.

Last updated 3 days ago

cppcpp11

199 stars 19.31 score 0 dependencies 8016 dependents## stringi - Fast and Portable Character String Processing Facilities

A collection of character string/text/natural language processing tools for pattern searching (e.g., with 'Java'-like regular expressions or the 'Unicode' collation algorithm), random string generation, case mapping, string transliteration, concatenation, sorting, padding, wrapping, Unicode normalisation, date-time formatting and parsing, and many more. They are fast, consistent, convenient, and - thanks to 'ICU' (International Components for Unicode) - portable across all locales and platforms. Documentation about 'stringi' is provided via its website at <https://stringi.gagolewski.com/> and the paper by Gagolewski (2022, <doi:10.18637/jss.v103.i02>).

Last updated 2 months ago

icuicu4cnatural-language-processingnlpregexregexpstring-manipulationstringistringrtexttext-processingtidy-dataunicode

297 stars 19.30 score 0 dependencies 7938 dependents## data.table - Extension of `data.frame`

Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns, friendly and fast character-separated-value read/write. Offers a natural and flexible syntax, for faster development.

Last updated 10 hours ago

3.6k stars 17.95 score 0 dependencies 4343 dependents## fastmap - Fast Data Structures

Fast implementation of data structures, including a key-value store, stack, and queue. Environments are commonly used as key-value stores in R, but every time a new key is used, it is added to R's global symbol table, causing a small amount of memory leakage. This can be problematic in cases where many different keys are used. Fastmap avoids this memory leak issue by implementing the map using data structures in C++.

Last updated 4 months ago

129 stars 17.76 score 0 dependencies 5249 dependents## arrow - Integration to 'Apache' 'Arrow'

'Apache' 'Arrow' <https://arrow.apache.org/> is a cross-language development platform for in-memory data. It specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware. This package provides an interface to the 'Arrow C++' library.

Last updated 19 hours ago

arrow

14.2k stars 17.42 score 14 dependencies 69 dependents## matrixStats - Functions that Apply to Rows and Columns of Matrices (and to Vectors)

High-performing functions operating on rows and columns of matrices, e.g. col / rowMedians(), col / rowRanks(), and col / rowSds(). Functions optimized per data type and for subsetted calculations such that both memory usage and processing time is minimized. There are also optimized vector-based methods, e.g. binMeans(), madDiff() and weightedMedian().

Last updated 2 days ago

matrixperformancevector

202 stars 14.84 score 0 dependencies 2160 dependents## vroom - Read and Write Rectangular Text Data Quickly

The goal of 'vroom' is to read and write data (like 'csv', 'tsv' and 'fwf') quickly. When reading it uses a quick initial indexing step, then reads the values lazily , so only the data you actually use needs to be read. The writer formats the data in parallel and writes to disk asynchronously from formatting.

Last updated 16 days ago

csvcsv-parserfixed-width-texttsvtsv-parser

618 stars 14.83 score 22 dependencies 1977 dependents## lubridate - Make Dealing with Dates a Little Easier

Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun.

Last updated 1 months ago

datedate-time

728 stars 14.75 score 3 dependencies 1780 dependents## igraph - Network Analysis and Visualization

Routines for simple graphs and network analysis. It can handle large graphs very well and provides functions for generating random and regular graphs, graph visualization, centrality methods and much more.

Last updated 5 hours ago

complex-networksgraph-algorithmsgraph-theorymathematicsnetwork-analysisnetwork-graph

540 stars 14.65 score 10 dependencies 1801 dependents## timechange - Efficient Manipulation of Date-Times

Efficient routines for manipulation of date-time objects while accounting for time-zones and daylight saving times. The package includes utilities for updating of date-time components (year, month, day etc.), modification of time-zones, rounding of date-times, period addition and subtraction etc. Parts of the 'CCTZ' source code, released under the Apache 2.0 License, are included in this package. See <https://github.com/google/cctz> for more details.

Last updated 7 months ago

ceilingdate-timeperiodroundingtimetime-zonesupdate

30 stars 14.21 score 1 dependencies 1780 dependents## s2 - Spherical Geometry Operators Using the S2 Geometry Library

Provides R bindings for Google's s2 library for geometric calculations on the sphere. High-performance constructors and exporters provide high compatibility with existing spatial packages, transformers construct new geometries from existing geometries, predicates provide a means to select geometries based on spatial relationships, and accessors extract information about geometries.

Last updated 2 months ago

71 stars 12.56 score 2 dependencies 1045 dependents## terra - Spatial Data Analysis

Methods for spatial data analysis with vector (points, lines, polygons) and raster (grid) data. Methods for vector data include geometric operations such as intersect and buffer. Raster methods include local, focal, global, zonal and geometric operations. The predict and interpolate methods facilitate the use of regression type (interpolation, machine learning) models for spatial prediction, including with satellite remote sensing data. Processing of very large files is supported. See the manual and tutorials on <https://rspatial.org/> to get started. 'terra' replaces the 'raster' package ('terra' can do more, and it is faster and easier to use).

Last updated 1 months ago

geospatialrasterspatialvector

532 stars 12.15 score 1 dependencies 771 dependents## xts - eXtensible Time Series

Provide for uniform handling of R's different time-based data classes by extending zoo, maximizing native format information preservation and allowing for user level customization and extension, while simplifying cross-class interoperability.

Last updated 1 months ago

ctime-series

220 stars 11.54 score 2 dependencies 613 dependents## dtplyr - Data Table Back-End for 'dplyr'

Provides a data.table backend for 'dplyr'. The goal of 'dtplyr' is to allow you to write 'dplyr' code that is automatically translated to the equivalent, but usually much faster, data.table code.

Last updated 3 days ago

datatabledplyr

661 stars 10.14 score 17 dependencies 136 dependents## clock - Date-Time Types and Tools

Provides a comprehensive library for date-time manipulations using a new family of orthogonal date-time classes (durations, time points, zoned-times, and calendars) that partition responsibilities so that the complexities of time zones are only considered when they are really needed. Capabilities include: date-time parsing, formatting, arithmetic, extraction and updating of components, and rounding.

Last updated 24 days ago

100 stars 9.78 score 7 dependencies 364 dependents## fastmatch - Fast 'match()' Function

Package providing a fast match() replacement for cases that require repeated look-ups. It is slightly faster that R's built-in match() function on first match against a table, but extremely fast on any subsequent lookup as it keeps the hash table in memory.

Last updated 7 months ago

17 stars 9.36 score 0 dependencies 358 dependents## snakecase - Convert Strings into any Case

A consistent, flexible and easy to use tool to parse and convert strings into cases like snake or camel among others.

Last updated 1 years ago

camelcasecaseconversionpascalcasesnake-case

145 stars 9.33 score 8 dependencies 259 dependents## anytime - Anything to 'POSIXct' or 'Date' Converter

Convert input in any one of character, integer, numeric, factor, or ordered type into 'POSIXct' (or 'Date') objects, using one of a number of predefined formats, and relying on Boost facilities for date and time parsing.

Last updated 1 months ago

boostc-plus-plus-11conversionscpp11datedatetimeposixctrcpp

161 stars 9.19 score 2 dependencies 273 dependents## stars - Spatiotemporal Arrays, Raster and Vector Data Cubes

Reading, manipulating, writing and plotting spatiotemporal arrays (raster and vector data cubes) in 'R', using 'GDAL' bindings provided by 'sf', and 'NetCDF' bindings by 'ncmeta' and 'RNetCDF'.

Last updated 6 days ago

rastersatellite-imagesspatial

553 stars 9.13 score 15 dependencies 126 dependents## inline - Functions to Inline C, C++, Fortran Function Calls from R

Functionality to dynamically define R functions and S4 methods with 'inlined' C, C++ or Fortran code supporting the .C and .Call calling conventions.

Last updated 9 days ago

fortranrcpp

41 stars 9.01 score 0 dependencies 298 dependents## collapse - Advanced and Fast Data Transformation

A C/C++ based package for advanced data transformation and statistical computing in R that is extremely fast, class-agnostic, robust and programmer friendly. Core functionality includes a rich set of S3 generic grouped and weighted statistical functions for vectors, matrices and data frames, which provide efficient low-level vectorizations, OpenMP multithreading, and skip missing values by default. These are integrated with fast grouping and ordering algorithms (also callable from C), and efficient data manipulation functions. The package also provides a flexible and rigorous approach to time series and panel data in R. It further includes fast functions for common statistical procedures, detailed (grouped, weighted) summary statistics, powerful tools to work with nested data, fast data object conversions, functions for memory efficient R programming, and helpers to effectively deal with variable labels, attributes, and missing data. It is well integrated with base R classes, 'dplyr'/'tibble', 'data.table', 'sf', 'units', 'plm' (panel-series and data frames), and 'xts'/'zoo'.

Last updated 1 days ago

data-aggregationdata-analysisdata-manipulationdata-processingdata-sciencedata-transformationeconometricshigh-performancepanel-datascientific-computingstatisticstime-seriesweightedweights

643 stars 8.92 score 1 dependencies 80 dependents## fst - Lightning Fast Serialization of Data Frames

Multithreaded serialization of compressed data frames using the 'fst' format. The 'fst' format allows for full random access of stored data and a wide range of compression settings using the LZ4 and ZSTD compressors.

Last updated 9 months ago

compressiondata-framedata-storage

618 stars 8.53 score 2 dependencies 50 dependents## dqrng - Fast Pseudo Random Number Generators

Several fast random number generators are provided as C++ header only libraries: The PCG family by O'Neill (2014 <https://www.cs.hmc.edu/tr/hmc-cs-2014-0905.pdf>) as well as the Xoroshiro / Xoshiro family by Blackman and Vigna (2021 <doi:10.1145/3460772>). In addition fast functions for generating random numbers according to a uniform, normal and exponential distribution are included. The latter two use the Ziggurat algorithm originally proposed by Marsaglia and Tsang (2000, <doi:10.18637/jss.v005.i08>). The fast sampling methods support unweighted sampling both with and without replacement. These functions are exported to R and as a C++ interface and are enabled for use with the default 64 bit generator from the PCG family, Xoroshiro128+/++/** and Xoshiro256+/++/** as well as the 64 bit version of the 20 rounds Threefry engine (Salmon et al., 2011, <doi:10.1145/2063384.2063405>) as provided by the package 'sitmo'.

Last updated 2 days ago

randomrandom-distributionsrandom-generationrandom-samplingrng

41 stars 7.72 score 3 dependencies 166 dependents## qs - Quick Serialization of R Objects

Provides functions for quickly writing and reading any R object to and from disk.

Last updated 3 months ago

compressiondata-storageencodingserialization

396 stars 7.58 score 5 dependencies 44 dependents## tidytable - Tidy Interface to 'data.table'

A tidy interface to 'data.table', giving users the speed of 'data.table' while using tidyverse-like syntax.

Last updated 1 months ago

445 stars 7.36 score 12 dependencies 9 dependents## fixest - Fast Fixed-Effects Estimations

Fast and user-friendly estimation of econometric models with multiple fixed-effects. Includes ordinary least squares (OLS), generalized linear models (GLM) and the negative binomial. The core of the package is based on optimized parallel C++ code, scaling especially well for large data sets. The method to obtain the fixed-effects coefficients is based on Berge (2018) <https://github.com/lrberge/fixest/blob/master/_DOCS/FENmlm_paper.pdf>. Further provides tools to export and view the results of several estimations with intuitive design to cluster the standard-errors.

Last updated 11 days ago

371 stars 7.24 score 9 dependencies 23 dependents## JuliaCall - Seamless Integration Between R and 'Julia'

Provides an R interface to 'Julia', which is a high-level, high-performance dynamic programming language for numerical computing, see <https://julialang.org/> for more information. It provides a high-level interface as well as a low-level interface. Using the high level interface, you could call any 'Julia' function just like any R function with automatic type conversion. Using the low level interface, you could deal with C-level SEXP directly while enjoying the convenience of using a high-level programming language like 'Julia'.

Last updated 1 years ago

julia

263 stars 6.45 score 7 dependencies 7 dependents## exactextractr - Fast Extraction from Raster Datasets using Polygons

Quickly and accurately summarizes raster values over polygonal areas ("zonal statistics").

Last updated 24 days ago

gisrasterrcpp

262 stars 6.24 score 17 dependencies 8 dependents## fastverse - A Suite of High-Performance Packages for Statistics and Data Manipulation

Easy installation, loading and management, of high-performance packages for statistical computing and data manipulation in R. The core 'fastverse' consists of 4 packages: 'data.table', 'collapse', 'kit' and 'magrittr', that jointly only depend on 'Rcpp'. The 'fastverse' can be freely and permanently extended with additional packages, both globally or for individual projects. Separate package verses can also be created. Fast packages for many common tasks such as time series, dates and times, strings, spatial data, statistics, data serialization, larger-than-memory processing, and compilation of R code are listed in the README file: <https://github.com/fastverse/fastverse#suggested-extensions>.

Last updated 1 months ago

ccppdata-aggregationdata-manipulationdata-sciencedata-transformationhigh-performancelow-dependencypanel-datastatistical-computingtime-seriesweights

244 stars 5.85 score 5 dependencies## tinyplot - Lightweight Extension of the Base R Graphics System

Lightweight extension of the base R graphics system, with support for automatic legends, facets, and various other enhancements.

Last updated 2 days ago

218 stars 5.83 score 0 dependencies 2 dependents## mirai - Minimalist Async Evaluation Framework for R

Designed for simplicity, a 'mirai' evaluates an R expression asynchronously in a parallel process, locally or distributed over the network, with the result automatically available upon completion. Modern networking and concurrency built on 'nanonext' and 'NNG' (Nanomsg Next Gen) ensure reliable and efficient scheduling, over fast inter-process communications or TCP/IP secured by TLS. Features built-in queueing to handle many more tasks than available processes, no storage on the file system, support for otherwise non-exportable reference objects, an event-driven promises implementation, and asynchronous parallel map.

Last updated 2 days ago

asynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-programmingpromises

177 stars 5.80 score 1 dependencies 6 dependents## stringfish - Alt String Implementation

Provides an extendable, performant and multithreaded 'alt-string' implementation backed by 'C++' vectors and strings.

Last updated 4 months ago

62 stars 5.47 score 2 dependencies 45 dependents## rextendr - Call Rust Code from R using the 'extendr' Crate

Provides functions to compile and load Rust code from R, similar to how 'Rcpp' or 'cpp11' allow easy interfacing with C++ code. Also provides helper functions to create R packages that use Rust code. Under the hood, the Rust crate 'extendr' is used to do all the heavy lifting.

Last updated 19 hours ago

183 stars 5.46 score 26 dependencies## kit - Data Manipulation Functions Implemented in C

Basic functions, implemented in C, for large data manipulation. Fast vectorised ifelse()/nested if()/switch() functions, psum()/pprod() functions equivalent to pmin()/pmax() plus others which are missing from base R. Most of these functions are callable at C level.

Last updated 1 days ago

54 stars 5.42 score 0 dependencies 5 dependents## tidyfast - Fast Tidying of Data

Tidying functions built on 'data.table' to provide quick and efficient data manipulation with minimal overhead.

Last updated 5 months ago

187 stars 5.32 score 2 dependencies## roll - Rolling and Expanding Statistics

Fast and efficient computation of rolling and expanding statistics for time-series data.

Last updated 2 days ago

algorithmsrcppstatistics

113 stars 5.03 score 3 dependencies 12 dependents## JuliaConnectoR - A Functionally Oriented Interface for Integrating 'Julia' with R

Allows to import functions and whole packages from 'Julia' in R. Imported 'Julia' functions can directly be called as R functions. Data structures can be translated between 'Julia' and R. More details can also be found in the corresponding article <doi:10.18637/jss.v101.i06>.

Last updated 9 months ago

interoperabilityjulia

99 stars 4.48 score 0 dependencies 6 dependents## cppRouting - Algorithms for Routing and Solving the Traffic Assignment Problem

Calculation of distances, shortest paths and isochrones on weighted graphs using several variants of Dijkstra algorithm. Proposed algorithms are unidirectional Dijkstra (Dijkstra, E. W. (1959) <doi:10.1007/BF01386390>), bidirectional Dijkstra (Goldberg, Andrew & Fonseca F. Werneck, Renato (2005) <https://archive.siam.org/meetings/alenex05/papers/03agoldberg.pdf>), A* search (P. E. Hart, N. J. Nilsson et B. Raphael (1968) <doi:10.1109/TSSC.1968.300136>), new bidirectional A* (Pijls & Post (2009) <https://repub.eur.nl/pub/16100/ei2009-10.pdf>), Contraction hierarchies (R. Geisberger, P. Sanders, D. Schultes and D. Delling (2008) <doi:10.1007/978-3-540-68552-4_24>), PHAST (D. Delling, A.Goldberg, A. Nowatzyk, R. Werneck (2011) <doi:10.1016/j.jpdc.2012.02.007>). Algorithms for solving the traffic assignment problem are All-or-Nothing assignment, Method of Successive Averages, Frank-Wolfe algorithm (M. Fukushima (1984) <doi:10.1016/0191-2615(84)90029-8>), Conjugate and Bi-Conjugate Frank-Wolfe algorithms (M. Mitradjieva, P. O. Lindberg (2012) <doi:10.1287/trsc.1120.0409>), Algorithm-B (R. B. Dial (2006) <doi:10.1016/j.trb.2006.02.008>).

Last updated 3 months ago

algorithmalgorithm-bbidirectional-a-star-algorithmc-plus-pluscontraction-hierarchiesdijkstra-algorithmdistancefrank-wolfeisochronesparallel-computingrcppshortest-pathstraffic-assignment

106 stars 4.36 score 4 dependencies 3 dependents## nanotime - Nanosecond-Resolution Time Support for R

Full 64-bit resolution date and time functionality with nanosecond granularity is provided, with easy transition to and from the standard 'POSIXct' type. Three additional classes offer interval, period and duration functionality for nanosecond-resolution timestamps.

Last updated 8 days ago

datetimedatetimesnanosecond-resolutionnanoseconds

52 stars 4.32 score 7 dependencies 15 dependents## tidyfst - Tidy Verbs for Fast Data Manipulation

A toolkit of tidy data manipulation verbs with 'data.table' as the backend. Combining the merits of syntax elegance from 'dplyr' and computing performance from 'data.table', 'tidyfst' intends to provide users with state-of-the-art data manipulation tools with least pain. This package is an extension of 'data.table'. While enjoying a tidy syntax, it also wraps combinations of efficient functions to facilitate frequently-used data operations.

Last updated 8 hours ago

97 stars 4.28 score 12 dependencies 2 dependents## Rfast2 - A Collection of Efficient and Extremely Fast R Functions II

A collection of fast statistical and utility functions for data analysis. Functions for regression, maximum likelihood, column-wise statistics and many more have been included. C++ has been utilized to speed up the functions. References: Tsagris M., Papadakis M. (2018). Taking R to its limits: 70+ tips. PeerJ Preprints 6:e26605v1 <doi:10.7287/peerj.preprints.26605v1>.

Last updated 6 months ago

37 stars 4.22 score 7 dependencies 21 dependents## rrapply - Revisiting Base Rapply

The minimal 'rrapply'-package contains a single function rrapply(), providing an extended implementation of 'R'-base rapply() by allowing to recursively apply a function to elements of a nested list based on a general condition function and including the possibility to prune or aggregate nested list elements from the result. In addition, special arguments can be supplied to access the name, location, parents and siblings in the nested list of the element under evaluation. The rrapply() function builds upon rapply()'s native 'C' implementation and requires no other package dependencies.

Last updated 2 months ago

listrapplyrecursion

55 stars 4.03 score 0 dependencies 12 dependents## fasttime - Fast Utility Function for Time Parsing and Conversion

Fast functions for timestamp manipulation that avoid system calls and take shortcuts to facilitate operations on very large data.

Last updated 2 years ago

41 stars 4.00 score 0 dependencies 11 dependents## coop - Co-Operation: Fast Covariance, Correlation, and Cosine Similarity Operations

Fast implementations of the co-operations: covariance, correlation, and cosine similarity. The implementations are fast and memory-efficient and their use is resolved automatically based on the input data, handled by R's S3 methods. Full descriptions of the algorithms and benchmarks are available in the package vignettes.

Last updated 3 years ago

35 stars 3.95 score 0 dependencies 16 dependents## armacmp - Translate R Linear Algebra Code to Armadillo C++

Compile linear algebra R code to C++ using the Armadillo Template Library. The package further supports mathematical optimization purely in C++.

Last updated 3 years ago

armadillo-libraryc-plus-plusexperimentallinear-algebraoptimization

95 stars 3.95 score 4 dependencies## geos - Open Source Geometry Engine ('GEOS') R API

Provides an R API to the Open Source Geometry Engine ('GEOS') library (<https://libgeos.org/>) and a vector format with which to efficiently store 'GEOS' geometries. High-performance functions to extract information from, calculate relationships between, and transform geometries are provided. Finally, facilities to import and export geometry vectors to other spatial formats are provided.

Last updated 6 months ago

61 stars 3.93 score 2 dependencies 7 dependents## maditr - Fast Data Aggregation, Modification, and Filtering with Pipes and 'data.table'

Provides pipe-style interface for 'data.table'. Package preserves all 'data.table' features without significant impact on performance. 'let' and 'take' functions are simplified interfaces for most common data manipulation tasks. For example, you can write 'take(mtcars, mean(mpg), by = am)' for aggregation or 'let(mtcars, hp_wt = hp/wt, hp_wt_mpg = hp_wt/mpg)' for modification. Use 'take_if/let_if' for conditional aggregation/modification. Additionally there are some conveniences such as automatic 'data.frame' conversion to 'data.table'.

Last updated 4 months ago

data-tablemagrittrpipes

60 stars 3.91 score 2 dependencies 6 dependents## r2c - Fast Iterated Statistic Computation in R

Compiles a subset of R into machine code so that expressions composed with that subset can be applied repeatedly on varying data without interpreter overhead.

Last updated 7 months ago

85 stars 3.76 score 1 dependencies## matrixTests - Fast Statistical Hypothesis Tests on Rows and Columns of Matrices

Functions to perform fast statistical hypothesis tests on rows/columns of matrices. The main goals are: 1) speed via vectorization, 2) output that is detailed and easy to use, 3) compatibility with tests implemented in R (like those available in the 'stats' package).

Last updated 11 months ago

anovafasthypothesis-testingmatrixrowst-testwilcoxon-test

36 stars 3.51 score 1 dependencies 8 dependents## ast2ast - Translates an R Function to a C++ Function

Enable translation of a tiny subset of R to C++. The user has to define a R function which gets translated. For a full list of possible functions check the documentation. After translation an R function is returned which is a shallow wrapper around the C++ code. Alternatively an external pointer to the C++ function is returned to the user. The intention of the package is to generate fast functions which can be used as ode-system or during optimization.

Last updated 2 months ago

abstract-syntax-treecc-plus-plusexpression-templatematrixrcpptranspilervector

34 stars 3.46 score 18 dependencies 2 dependents## table.express - Build 'data.table' Expressions with Data Manipulation Verbs

A specialization of 'dplyr' data manipulation verbs that parse and build expressions which are ultimately evaluated by 'data.table', letting it handle all optimizations. A set of additional verbs is also provided to facilitate some common operations on a subset of the data.

Last updated 1 years ago

65 stars 3.44 score 17 dependencies## fastmatrix - Fast Computation of some Matrices Useful in Statistics

Small set of functions to fast computation of some matrices and operations useful in statistics and econometrics. Currently, there are functions for efficient computation of duplication, commutation and symmetrizer matrices with minimal storage requirements. Some commonly used matrix decompositions (LU and LDL), basic matrix operations (for instance, Hadamard, Kronecker products and the Sherman-Morrison formula) and iterative solvers for linear systems are also available. In addition, the package includes a number of common statistical procedures such as the sweep operator, weighted mean and covariance matrix using an online algorithm, linear regression (using Cholesky, QR, SVD, sweep operator and conjugate gradients methods), ridge regression (with optimal selection of the ridge parameter considering several procedures), omnibus tests for univariate normality, functions to compute the multivariate skewness, kurtosis, the Mahalanobis distance (checking the positive defineteness), and the Wilson-Hilferty transformation of gamma variables. Furthermore, the package provides interfaces to C code callable by another C code from other R packages.

Last updated 8 months ago

commutation-matrixjarque-bera-testldl-factorizationlu-factorizationmatrix-api-for-r-packagesmatrix-normsmodified-choleskyols-regressionpower-methodridge-regressionsherman-morrisonstatisticssweep-operatorsymmetrizer-matrix

18 stars 3.16 score 0 dependencies 10 dependents## tidyCpp - Tidy C++ Header-Only Definitions for Parts of the C API of R

Core parts of the C API of R are wrapped in a C++ namespace via a set of inline functions giving a tidier representation of the underlying data structures and functionality using a header-only implementation without additional dependencies.

Last updated 2 months ago

cpp

39 stars 3.01 score 0 dependencies 2 dependents## tidyft - Tidy Verbs for Fast Data Operations by Reference

Tidy syntax for 'data.table', using modification by reference whenever possible. This toolkit is designed for big data analysis in high-performance desktop or laptop computers. The syntax of the package is similar or identical to 'tidyverse'. It is user friendly, memory efficient and time saving. For more information, check its ancestor package 'tidyfst'.

Last updated 9 days ago

34 stars 2.61 score 12 dependencies## XRJulia - Structured Interface to Julia

A Julia interface structured according to the general form described in package 'XR' and in the book "Extending R".

Last updated 6 years ago

33 stars 2.50 score 2 dependencies 1 dependents## hutilscpp - Miscellaneous Functions in C++

Provides utility functions that are simply, frequently used, but may require higher performance that what can be obtained from base R. Incidentally provides support for 'reverse geocoding', such as matching a point with its nearest neighbour in another array. Used as a complement to package 'hutils' by sacrificing compilation or installation time for higher running speeds. The name is a portmanteau of the author and 'Rcpp'.

Last updated 2 months ago

10 stars 2.18 score 4 dependencies 2 dependents## dggridR - Discrete Global Grids

Spatial analyses involving binning require that every bin have the same area, but this is impossible using a rectangular grid laid over the Earth or over any projection of the Earth. Discrete global grids use hexagons, triangles, and diamonds to overcome this issue, overlaying the Earth with equally-sized bins. This package provides utilities for working with discrete global grids, along with utilities to aid in plotting such data.

Last updated 1 months ago

3 stars 1.31 score 14 dependencies 1 dependents