BSD Ports

devel/R-cran-Rcpp 1.1.1 MidnightBSD

Seamless R and C++ Integration

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2+
Categories
devel

Description

The Rcpp package provides C++ classes that greatly facilitate interfacing C or C++ code in R packages using the .Call() interface provided by R.

Rcpp provides matching C++ classes for a large number of basic R data types. Hence, a package author can keep his data in normal R data structures without having to worry about translation or transferring to C++. At the same time, the data structures can be accessed as easily at the C++ level, and used in the normal manner.

The mapping of data types works in both directions. It is as straightforward to pass data from R to C++, as it is it return data from C++ to R.

In the other systems

SystemPortVersion
MidnightBSDdevel/R-cran-Rcpp1.1.1
FreeBSDdevel/R-cran-Rcpp1.1.2_1
DragonFlydevel/R-cran-Rcpp1.0.14

Install

Binary package:

mport install Rcpp

From mports:

cd /usr/mports/devel/R-cran-Rcpp && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	Rcpp>0:devel/R-cran-Rcpp

Dependencies

Configuration

No options to configure.

USES
cran:auto-plist,compiles shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
Rcpp_1.1.1.tar.gz1.883133e+06da0c616a71c82150397259516b2ea7558dbd31a5b4a217423ec9666b3a0fcfb7