./devel/R-Rcpp, Seamless R and C++ Integration

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.12.17, Package name: R-Rcpp-0.12.17, Maintainer: pkgsrc-users

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.


Required to run:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
   2018-05-31 04:12:25 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12.17

Upstream changes:
Changes in Rcpp version 0.12.17 (2018-05-09)
Changes in Rcpp API:

The random number Generator class no longer inhreits from RNGScope (Kevin in \ 
#837 fixing #836).

A spurious parenthesis was removed to please gcc8 (Dirk fixing #841)

The optional Timer class header now undefines FALSE which was seen to have \ 
side-effects on some platforms (Romain in #847 fixing #846).

Optional StoragePolicy attributes now also work for string vectors (Romain in \ 
#850 fixing #849).

Changes in Rcpp Documentation:

A few old typesetting conventions from the prior Rnw format have been corrected \ 
(Peter Hickey in #831; Joris Meys; Dirk)

Two internal links to the introduction published in JSS have been updated to the \ 
changed filename given the newer TAS introduction.

Some remaining backticks were replaced with straight quotes (Ralf Stubner in #845).

A citation to the Rcpp introducion in the The American Statistician has been \ 
added to the introductory and FAQ vignettes.

Changes in Rcpp version 0.12.16 (2018-03-08)
Changes in Rcpp API:

Rcpp now sets and puts the RNG state upon each entry to an Rcpp function, \ 
ensuring that nested invocations of Rcpp functions manage the RNG state as \ 
expected (Kevin in #825 addressing #823).

The R::pythag wrapper has been commented out; the underlying function has been \ 
gone from R since 2.14.0, and ::hypot() (part of C99) is now used \ 
unconditionally for complex numbers (Dirk in #826).

The long long type can now be used on 64-bit Windows (Kevin in #811 and again in \ 
#829 addressing #804).

Changes in Rcpp Attributes:

Code generated with cppFunction() now uses .Call() directly (Kirill Mueller in \ 
#813 addressing #795).

Changes in Rcpp Documentation:

The Rcpp FAQ vignette is now indexed as 'Rcpp-FAQ'; a stale Gmane reference was \ 
removed and entry for getting compilers under Conda was added.

The top-level README.md now has a Support section.

The Rcpp.bib reference file was refreshed to current versions.
   2018-04-05 12:29:31 by Jonathan Perkin | Files touched by this commit (1)
Log message:
R-Rcpp: Add CHECK_SSP_SKIP for some useless files.
   2018-01-22 03:38:47 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12.15

Upstream changelog is too long, please visit:
https://github.com/RcppCore/Rcpp/blob/master/ChangeLog
   2016-12-17 08:28:05 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12.8

Upstream changes:
2016-11-16  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Release 0.12.8
        * inst/NEWS.Rd: Release 0.12.8
        * vignettes/Rcpp.bib: Release 0.12.8
        * inst/include/Rcpp/config.h: Release 0.12.8

        * README.md: Updated counts for dependents and tests

        * debian/*: Changes for Debian release of 0.12.8

2016-11-15  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Nathan Russell added to Authors

2016-11-14  Jim Hester  <james.f.hester@gmail.com>

        * inst/include/Rcpp/exceptions.h: Improved exception call stack
        * inst/include/Rcpp/routines.h: Ditto
        * inst/src/api.cpp: Ditto

        * R/exections.R: Print and format method for stack straces

        * inst/unitTests/runit.exceptions.R: Unit tests
        * inst/unitTests/cpp/exceptions.cpp: Ditto

2016-11-13  Dirk Eddelbuettel  <edd@debian.org>

        * R/Attributes.R (mergeIntoBuildEnv): Correct 'empty' return

2016-11-10  Dirk Eddelbuettel  <edd@debian.org>

        * inst/include/Rcpp/date_datetime/newDateVector.h: Added constructor
        using VectorBase<>

2016-11-05  Daniel C. Dillon  <dcdillon@gmail.com>

        * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Added constructor
        to instantiate newDatetimeVector from VectorBase.

2016-11-04  Nathan Russell  <russell.nr2012@gmail.com>

        * inst/include/Rcpp/macros/dispatch.h: Modify variadic macros
        to not use GNU extensions
        * DESCRIPTION: roll minor version

2016-11-03  Nathan Russell  <russell.nr2012@gmail.com>

        * inst/include/Rcpp/hash/IndexHash.h: Add casts to eliminate
        signed / unsigned comparison warning
        * inst/include/Rcpp/hash/SelfHash.h: Idem
        * inst/unitTests/cpp/sugar.cpp: Added unit tests for sugar function
        unique()
        * inst/unitTests/runit.sugar.R: Idem

2016-10-30  Dirk Eddelbuettel  <edd@debian.org>

        * src/api.cpp: New capabilities field for new date(time) vectors
        * inst/unitTests/runit.Date.R (test.DatetimeVector.ctor): Differentiate
        in test as case of 'Inf' is handling differently by new and old datetime
        classes (and passed through as is by new ones which is better)
        * inst/unitTests/runit.InternalFunctionCPP11.R: Small cosmetic edit

2016-10-24  Qiang Kou  <qkou@umail.iu.edu>

        * inst/include/Rcpp/sugar/Range.h : fix range sugar ambiguity
        * inst/unitTests/cpp/sugar.cpp: range sugar unit test
        * inst/unitTests/runit.sugar.R: range sugar unit test

2016-10-24  Nathan Russell  <russell.nr2012@gmail.com>

	* inst/include/Rcpp/vector/MatrixBase.h: Change sugar
	functions eye(), ones(), and zeros() into static methods
	in MatrixBase
	* inst/include/Rcpp/traits/one_type.h: Idem
	* inst/include/Rcpp/traits/traits.h: Idem
	* inst/unitTests/cpp/Matrix.cpp: Idem
	* inst/unitTests/runit.Matrix.R: Idem

2016-10-24  Qiang Kou  <qkou@umail.iu.edu>

        * inst/include/Rcpp/sugar/Range.h: Range sugar uses R_xlen_t as \ 
start/end type

2016-10-23  Nathan Russell  <russell.nr2012@gmail.com>

        * inst/include/Rcpp/sugar/matrix/eye.h: New functions
        eye(), ones(), and zeros()
        * inst/include/Rcpp/sugar/matrix/matrix_functions.h: Idem
        * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
        * inst/unitTests/runit.sugar.R: Idem
        * inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use
        expression rather than parse, correct typo

2016-10-22  Qiang Kou  <qkou@umail.iu.edu>

        * inst/include/Rcpp/hash/IndexHash.h: change hashing function to return \ 
unsigned int
        * inst/include/Rcpp/hash/SelfHash.h: Ditto

2016-10-21  Qiang Kou  <qkou@umail.iu.edu>

        * inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept \ 
R_xlen_t
        * inst/include/Rcpp/routines.h: Ditto
        * src/barrier.cpp: Ditto

2016-10-19  Dirk Eddelbuettel  <edd@debian.org>

        * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Additional
        operator+ for int argument

2016-10-18  Dirk Eddelbuettel  <edd@debian.org>

        * inst/include/Rcpp/date_datetime/Date.h (Rcpp): Add operator double()
        * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Ditto

2016-10-17  Dirk Eddelbuettel  <edd@debian.org>

        * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Allow
        setting of timezone attribute; default not-set leads to local as in R

2016-10-16  Dirk Eddelbuettel  <edd@debian.org>

        * inst/include/Rcpp.h (RCPP_NEW_DATE_DATETIME_VECTORS): Add a new
        compile-time #define to switch between 'old' (existing) and 'new'
        DateVector and DatimeVector classes. Currently uses 'new' for testing
        plan to switch to proper deprecation schedule.

        * inst/include/Rcpp/date_datetime/date_datetime.h: New header file (and
        directory) regrouping all Date and Datetime headers, scalar and vector

        * inst/include/Rcpp/date_datetime/Date.h: Moved one directory down
        * inst/include/Rcpp/date_datetime/Datetime.h: Ditto
        * inst/include/Rcpp/date_datetime/oldDateVector.h: Moved and renamed
        * inst/include/Rcpp/date_datetime/oldDatetimeVector.h: Ditto

        * inst/include/Rcpp/date_datetime/newDateVector.h: New implementation
        inheriting from NumericVector, still optional
        * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Ditto

2016-09-05  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version): Roll minor version
        * cleanup: Clean two more file type from vignettes/

2016-09-04  Nathan Russell  <russell.nr2012@gmail.com>

        * inst/include/Rcpp/sugar/functions/rowSums.h: New functions
        rowSums(), colSums(), rowMeans(), and colMeans()
        * inst/include/Rcpp/sugar/functions/functions.h: Idem
        * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
        * inst/unitTests/runit.sugar.R: Idem

2016-09-04  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Release 0.12.7
        * inst/NEWS.Rd: Release 0.12.7
        * vignettes/Rcpp.bib: Release 0.12.7
        * inst/include/Rcpp/config.h: Release 0.12.7

        * README.md: Updated counts for dependents and tests

        * debian/*: Changes for Debian release of 0.12.7

2016-09-02  Simon Dirmeier <simon.dirmeier@bsse.ethz.ch>

        * src/attributes.cpp: Remove leading underscore in header guard

2016-08-14  James J Balamuta  <balamut2@illinois.edu>

        * inst/examples/FastLM/lmGSL.R: Updated example to use new GSL templates

2016-08-11  Dirk Eddelbuettel  <edd@debian.org>

	* .travis.yml: Switch to using run.sh for Travis CI

2016-08-09  Artem Klevtsov <a.a.klevtsov@gmail.com>

        * inst/include/Rcpp/macros/dispatch.h: Add variadic conditional macro
        when C++11 compiler used
        * ints/include/unitTests/cpp/dispatch.cpp: Add unit tests for
        RCPP_RETURN_VECTOR and RCPP_RETURN_MATRIX macro
        * ints/include/unitTests/runit.dispatch.R: Idem

2016-08-05  James J Balamuta  <balamut2@illinois.edu>

        * inst/examples/FastLM/fastLMviaArmadillo.r: format fix
        * inst/examples/FastLM/lmGSL.R: Updated example to use
        Rcpp attributes instead of cxxfunction
        * inst/examples/FastLM/lmArmadillo.R: Idem
        * inst/examples/functionCallback/newApiExample.r: Idem
        * inst/examples/RcppInline/RcppInlineExample.r: Idem
        * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem
        * inst/examples/RcppInline/UncaughtExceptions.r: Idem
        * inst/examples/RcppInline/external_pointer.r: Idem

2016-08-04  James J Balamuta  <balamut2@illinois.edu>

        * src/attributes.cpp: Correct variable re-declaration
        * inst/examples/RcppGibbs/RcppGibbs.R: Updated example to use Rcpp
        attributes instead of cxxfunction
        * inst/examples/RcppGibbs/timeRNGs.R: Idem

2016-08-03  Dirk Eddelbuettel  <edd@debian.org>

        * .gitattributes: Added to have ChangeLog and NEWS.Rd merge via union

2016-08-02  James J Balamuta  <balamut2@illinois.edu>

        * R/Rcpp.package.skeleton.R: Added autogeneration warning
        * src/attributes.cpp: Fixed invalid C++ Identifiers and modified export
        header to warn against hand edits
        * vignettes/Rcpp-package.Rnw: Updated code generation snippets
        * man/Rcpp.package.skeleton.Rd: Add warning on hand edits to the
        autogenerated RcppExports files.
        * man/compileAttributes.Rd: Idem

2016-08-02 Qiang Kou <qkou@umail.iu.edu>

        * inst/include/Rcpp/String.h: CE_UTF8 as default encoding
        * inst/unitTests/cpp/String.cpp: Update unit test
        * inst/unitTests/runit.String.R: Idem

2016-08-01 Nathan Russell <russell.nr2012@gmail.com>

        * inst/include/Rcpp/vector/Vector.h: Added decreasing option for Vector
        sort
        * inst/include/Rcpp/internal/NAComparator.h: Idem
        * inst/unitTests/cpp/Vector.cpp: Idem
        * inst/unitTests/runit.Vector.R: Idem

2016-07-31 Qiang Kou <qkou@umail.iu.edu>

        * inst/examples/SugarPerformance/sugarBenchmarks.R: Remove usage of Rf_eval
        * inst/include/Rcpp/Environment.h: Idem
        * inst/include/Rcpp/Module.h: Idem
        * inst/include/Rcpp/exceptions.h: Idem
        * inst/include/Rcpp/proxy/FieldProxy.h: Idem
        * inst/include/Rcpp/r_cast.h: Idem
        * inst/unitTests/cpp/language.cpp: Idem
        * src/barrier.cpp: Idem

2016-07-24  Dirk Eddelbuettel  <edd@debian.org>

        * inst/unitTests/cpp/rmath.cpp: Added RNG unit tests for sugar variants
        * inst/unitTests/runit.rmath.R: Idem

2016-07-22  James J Balamuta  <balamut2@illinois.edu>

        * inst/unitTests/cpp/rmath.cpp: Added unit tests for Rmath RNGs
        * inst/unitTests/runit.rmath.R: idem
        * inst/include/Rcpp/Environment.h: Added get() & find() that accept
        a symbol
        * inst/include/Rcpp.h: Modified header load order so that Symbol.h
        is now placed before Environment.h

2016-07-21  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version): Roll minor release

2016-07-18  Kevin Ushey  <kevin@rstudio.com>

        * inst/include/Rcpp/r/headers.h: Ensure NORET macro is set appropriately
   2016-07-27 02:28:38 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12.6

Upstream changes:
Changes in Rcpp version 0.12.6 (2016-07-18)

    Changes in Rcpp API:

        The long long data type is used only if it is available, to avoid \ 
compiler warnings (Kirill Müller in #488).

        The compiler is made aware that stop() never returns, to improve code \ 
path analysis (Kirill Müller in #487 addressing issue #486).

        String replacement was corrected (Qiang in #479 following mailing list \ 
bug report by Masaki Tsuda)

        Allow for UTF-8 encoding in error messages via \ 
RCPP_USING_UTF8_ERROR_STRING macro (Qin Wenfeng in #493)

        The R function Rf_warningcall is now provided as well (as usual without \ 
leading Rf_) (#497 fixing #495)

    Changes in Rcpp Sugar:

        Const-ness of min and max functions has been corrected. (Dan Dillon in \ 
PR #478 fixing issue #477).

        Ambiguities for matrix/vector and scalar operations have been fixed (Dan \ 
Dillon in PR #476 fixing issue #475).

        New algorithm header using iterator-based approach for vectorized \ 
functions (Dan in PR #481 revisiting PR #428 and addressing issue #426, with \ 
futher work by Kirill in PR #488 and Nathan in #503 fixing issue #502).

        The na_omit() function is now faster for vectors without NA values \ 
(Artem Klevtsov in PR #492)

    Changes in Rcpp Attributes:

        Add cacheDir argument to sourceCpp() to enable caching of shared \ 
libraries across R sessions (JJ in #504).

        Code generation now deals correctly which packages containing a dot in \ 
their name (Qiang in #501 fixing #500).

    Changes in Rcpp Documentation:

        A section on default parameters was added to the Rcpp FAQ vignette \ 
(James Balamuta in #505 fixing #418).

        The Rcpp-attributes vignette is now mentioned more prominently in \ 
question one of the Rcpp FAQ vignette.

        The Rcpp Quick Reference vignette received a facelift with new sections \ 
on Rcpp attributes and plugins begin added. (James Balamuta in #509 fixing \ 
#484).

        The bib file was updated with respect to the recent JSS publication for \ 
RProtoBuf.
   2016-07-04 22:44:15 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated R-Rcpp to 0.12.5.

From Lukasz Siemiradzki in PR 51305.

2016-05-14  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Release 0.12.5
        * inst/NEWS.Rd: Release 0.12.5
	* vignettes/Rcpp.bib: Release 0.12.5
        * inst/include/Rcpp/config.h: Release 0.12.5

        * debian/*: Changes for Debian release of 0.12.5

	* vignettes/Rcpp.bib: Updated references

2016-05-13  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Rolled minor version

        * R/compilerCheck.R: Minimal R function to check g++ version sufficiency
        * man/compilerCheck.Rd: Documentation

2016-05-11  Dirk Eddelbuettel  <edd@debian.org>

        * R/Rcpp.package.skeleton.R: Modified to create a package without notes,
        warnings, or error even pkgKitten is not available

        * R/Rcpp.package.skeleton.R (.playWithPerPackageHelpPage): Added new
        helper function to be used when pkgKitten is not available
        * inst/skeleton/manual-page-stub.Rd: Stub for per-package help page used
        when pkgKitten is not available

2016-05-10  Dirk Eddelbuettel  <edd@debian.org>

        * R/Rcpp.package.skeleton.R: Also correct Title: and Description: to
        satisfy R CMD check in R-release and (current) R-devel

2016-05-08  Dirk Eddelbuettel  <edd@debian.org>

        * inst/unitTests/cpp/Matrix.cpp: Made four scalar/matrix tests less
        ambiguous for overloads by using double as scalar

2016-05-06  Dirk Eddelbuettel  <edd@debian.org>

        * R/loadRcppModules.R (loadRcppModules): Add call to .Deprecated
        pointing out that loadModule is preferred
        * man/Rcpp-deprecated.Rd: Added to list deprecated functions
        * man/loadRcppModules-deprecated.Rd: Renamed to -deprecated, added link
        to loadModule which is the preferred method

        * vignettes/Rcpp-modules.Rnw: Updated with respect to loadRcppModules
        deprecation and loadModule being preferred

2016-04-15  Kevin Ushey <kevinushey@gmail.com>

        * src/attributes.cpp: Add a missing 'winslash = "/"'

2016-04-14  J.J. Allaire <jj@rstudio.org>

        * src/attributes.cpp: Correct handling of dependent file paths on
        Windows (use winslash = "/")

2016-04-13  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version): Rolling minor version and Date

2016-04-11  Ben Goodrich  <goodrich.ben@gmail.com>

        * R/Module.R: Avoid calling as.character() on C++Object to prevent race

2016-04-02  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Rolled to minor version 0.12.4.3
        * inst/include/Rcpp/config.h: Ditto

        * ChangeLog: Added entries for PRs 453 and 454
        * inst/NEWS.Rd: Add two missing \item uses

        * R/Module.R: Rename copy to copyObject to avoid function name collisions
        * inst/unitTests/runit.Module.R: Ditto
        * man/copyObject.Rd: Ditto
        * inst/NEWS.Rd: Ditto
        * NAMESPACE: Ditto

        * inst/unitTests/runit.environments.R: Skip test.environment.child test

2016-03-31  Romain Francois <romain@r-enthusiasts.com>

        * R/Modules.R: New top-level functions copy, destruct and is_destructed
        * NAMESPACE: New functions copy, destruct and is_destructed exported
        * man/copy.Rd: New manual page
        * man/destruct.Rd: Ditto

        * inst/include/Rcpp/module/class.h: Add copy constructortor + destructor
        * inst/include/Rcpp/module/class_Base.h: Ditto
        * src/Module.cpp: Ditto
        * src/Rcpp_init.cpp: Ditto
        * src/internal.h: Ditto

        * inst/include/Rcpp/traits/traits.h: New trait detecting copy contructor
        * inst/include/Rcpp/traits/has_copy_constructor.h: Ditto

        * inst/unitTests/runit.Module.R: Test new copy constructor and destructor
        * inst/unitTests/cpp/Module.cpp: Ditto

2016-03-29  Daniel C. Dillon  <dcdillon@gmail.com>

        * inst/include/Rcpp/String.h: Correct Rcpp::String for Rcpp::Nullable

2016-03-27  Qin Wenfeng  <mail@qinwenfeng.com>

        * R/Attributes.R: Support new R 3.3.0 Windows toolchain

2016-03-26  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION: Rolled Date and minor Version

2016-03-23  Sergio Marques <sergio.rtmarques@gmail.com>

        * src/api.cpp: Also check a flag __MUSL__ to accomodate Alpine
   2016-04-09 12:54:54 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12.4

Upstream changes:
Changes in Rcpp version 0.12.4 (2016-03-22)

    Changes in Rcpp API:

        New accessors as() and clone() were added to the Nullable class (Dan in \ 
PR #423 closing #421)

        The Nullable<>::operator SEXP() and Nullable<>::get() now \ 
also work for const objects (Kirill Mueller in PR #417).

        A subsetting error was fixed (Qiang via #432 closing #431).

    Changes in Rcpp Sugar:

        Added new Sugar function median() (Nathan in PR #425 closing #424)

        Added new Sugar function cbind() (Nathan in PR #447 closing #407)

    Changes in Rcpp Attributes:

        A plugin for C++14 was added (Dan in PR #427)

    Changes in Rcpp Documentation:

        An entry was added to the Rcpp-FAQ vignette describing the required \ 
packages for vignette building (#422).

        Use on OS X was further detailed (James Balamuta in #433 with further \ 
review by Bob Rudis).

        An entry was added concerning the hard-code limit of arguments to some \ 
constructor and function (cf #435).

        The Rcpp-FAQ vignette now contains a table of content.

        Typos and indentation were corrected in the Rcpp Sugar vignette (#445 by \ 
Colin Gillespie).

Changes in Rcpp version 0.12.3 (2016-01-10)

    Changes in Rcpp API:

        Const iterators now CharacterVector now behave like regular iterators \ 
(PR #404 by Dan fixing #362).

        Math operators between matrix and scalars type have been added (PR #406 \ 
by Qiang fixing #365).

        A missing std::hash function interface for Rcpp::String has been addded \ 
(PR #408 by Qiang fixing #84).

    Changes in Rcpp Attributes:

        Avoid invalid function names when generating C++ interfaces (PR #403 by \ 
JJ fixing #402).

        Insert additional space around & in function interface (PR #400 by \ 
Kazuki Fukui fixing #278).

    Changes in Rcpp Modules:

        The copy constructor now initialized the base class (PR #411 by Joshua \ 
Pritikin fixing #410)

    Changes in Rcpp Repository:

        Added a file Contributing.md providing some points to potential \ 
contributors (PR #414 closing issue #413)

Changes in Rcpp version 0.12.2 (2015-11-14)

    Changes in Rcpp API:

        Correct return type in product of matrix dimensions (PR #374 by Florian)

        Before creating a single String object from a SEXP, ensure that it is \ 
from a vector of length one (PR #376 by Dirk, fixing #375).

        No longer use STRING_ELT as a left-hand side, thanks to a heads-up by \ 
Luke Tierney (PR #378 by Dirk, fixing #377).

        Rcpp Module objects are now checked more carefully (PR #381 by Tianqi, \ 
fixing #380)

        An overflow in Matrix column indexing was corrected (PR #390 by Qiang, \ 
fixing a bug reported by Allessandro on the list)

        Nullable types can now be assigned R_NilValue in function signatures. \ 
(PR #395 by Dan, fixing issue #394)

        operator<<() now always shows decimal points (PR #396 by Dan)

        Matrix classes now have a transpose() function (PR #397 by Dirk fixing #383)

        operator<<() for complex types was added (PRs #398 by Qiang and \ 
#399 by Dirk, fixing #187)

    Changes in Rcpp Attributes:

        Enable export of C++ interface for functions that return void.

    Changes in Rcpp Sugar:

        Added new Sugar function cummin(), cummax(), cumprod() (PR #389 by \ 
Nathan Russell fixing #388)

        Enabled sugar math operations for subsets; e.g. x[y] + x[z]. (PR #393 by \ 
Kevin and Qiang, implementing #392)

    Changes in Rcpp Documentation:

        The NEWS file now links to GitHub issue tickets and pull requests.

        The Rcpp.bib file with bibliographic references was updated.