File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ 2013-09-19 Romain Francois <romain@r-enthusiasts.com>
2+
3+ * include/Rcpp/traits/r_sexptype_traits.h : unsigned int wrapped as REALSXP
4+ long standing feature request from Murray.
5+
162013-09-18 JJ Allaire <jj@rstudio.org>
27
38 * R/Attributes.R: Don't search the inline package as a fallback when loading plugins for the the Rcpp::plugins attribute
54085413
54095414 * inst/doc/RcppAPI.{Rnw,pdf}: Added footnote onto titlepage about how
54105415 this document has not (yet) been updated along with the channges made
5416+
Original file line number Diff line number Diff line change 33//
44// r_sexptype_traits.h: Rcpp R/C++ interface class library -- traits to help wrap
55//
6- // Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
6+ // Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
77//
88// This file is part of Rcpp.
99//
@@ -40,7 +40,8 @@ template<> struct r_sexptype_traits<std::string>{ enum{ rtype = STRSXP } ; } ;
4040template <> struct r_sexptype_traits <Rcomplex>{ enum { rtype = CPLXSXP } ; } ;
4141template <> struct r_sexptype_traits <Rbyte>{ enum { rtype = RAWSXP } ; } ;
4242
43- template <> struct r_sexptype_traits <unsigned int >{ enum { rtype = INTSXP } ; } ;
43+
44+ template <> struct r_sexptype_traits <unsigned int >{ enum { rtype = REALSXP } ; } ;
4445template <> struct r_sexptype_traits <float >{ enum { rtype = REALSXP } ; } ;
4546
4647/* long are represented as numeric vectors which allows more precision
You can’t perform that action at this time.
0 commit comments