devel/R-Rcpp 1.1.2 NetBSD
Seamless R and C++ integration
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
517bacaa70- License
- gnu-gpl-v2 OR gnu-gpl-v3
- Categories
- devel, math, r
- Package size
- 2009.2 KiB, 4459.4 KiB installed
Description
The Rcpp package provides R functions as well as a C++ library which facilitate the integration of R and C++.
R data types (SEXP) are matched to C++ objects in a class hierarchy. All R types are supported (vectors, functions, environment, etc ...) and each type is mapped to a dedicated class. For example, numeric vectors are represented as instances of the Rcpp::NumericVector class, environments are represented as instances of Rcpp::Environment, functions are represented as Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good entry point to Rcpp.
Rcpp also provides Rcpp modules, a framework that allows exposing C++ functions and classes to the R level. The "Rcpp-modules" vignette details the current set of features of Rcpp-modules.
Rcpp includes a concept called Rcpp sugar that brings many R functions into C++. Sugar takes advantage of lazy evaluation and expression templates to achieve great performance while exposing a syntax that is much nicer to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette gives an overview of the feature.
Additional documentation is available via the paper by Eddelbuettel and Francois (2011, JSS) paper and the book by Eddelbuettel (2013, Springer); see 'citation("Rcpp")' for details.
Install
Binary package:
pkgin install R-Rcpp
From pkgsrc:
cd /usr/pkgsrc/devel/R-Rcpp && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.1.2 |
| NetBSD 10.1 aarch64 | 1.1.1.1.1 |
| SmartOS / illumos x86_64 | 1.1.2 |
| macOS 15 arm64 | 1.1.2 |
Dependencies
Run dependencies 1
Required by 39
- devel/R-fs
- devel/R-inline
- devel/R-tidyselect
- finance/R-bayesm
- geography/R-cartography
- geography/R-geosphere
- geography/R-lwgeom
- geography/R-osmdata
- geography/R-raster
- geography/R-s2
- geography/R-sf
- geography/R-terra
- graphics/R-interp
- graphics/R-magick
- graphics/R-scales
- lang/R-RcppTOML
- math/R-RcppArmadillo
- math/R-RcppEigen
- math/R-dplyr
- math/R-energy
- math/R-forecast
- math/R-lme4
- math/R-minqa
- math/R-plyr
- math/R-reshape2
- math/R-units
- parallel/R-promises
- sysutils/R-later
- textproc/R-haven
- textproc/R-htmltools
- textproc/R-hunspell
- textproc/R-openxlsx
- textproc/R-readstata13
- textproc/R-xml2
- time/R-RcppCCTZ
- time/R-RcppDate
- time/R-lubridate
- time/R-nanotime
- www/R-httpuv