Dirk Eddelbuettel: Rcpp 0.11.2
A new minor release 0.11.2 of
Rcpp is now
on the CRAN network for
GNU R, and binaries for
Debian have also been uploaded.
The release smoothes a few edges on both the
Rcpp side itself, as well
as on the interaction between
Rcpp and
R which since release 3.1.0 offers a
few new features related to C++11.
Kevin added a couple of neat
extensions related to vectors, a new ListOf templated
list class, as well as a new option to warn on implicit casts. We decided not
to make this option the default as it may be too common in some packages. JJ took
care of a few buglets related to the wonderful Rcpp Attributes. See the NEWS
file section below for details, or the ChangeLog file in the package and on the
Rcpp Changelog page.
Note that the diffstat reported by CRANberries is very large as
Kevin also committed a whitespace cleanup which touched almost all files.
As before, we tested this release by building against all
CRAN packages
which depend upon Rcpp. In fact we did
three such runs leading up to the release. Only one package was blacklisted
(as I currently don't have CUDA set-up), two had what may be internal errors
or tests which were too restrictive, sixteen suffered from missing packages
or RGL devices --- but the remaining 202 packages all built and tested
cleanly. Detailed results of those tests (and the scripts for it) are in the rcpp-logs repo GitHub.
There are a number of other fixes, upgrades and other extensions detailed in
NEWS file extract below, in the ChangeLog file in the package and on the
Rcpp Changelog page.
Changes in Rcpp version 0.11.2 (2014-06-06Thanks to CRANberries, you can also look at a diff to the previous release. As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads, the browseable doxygen docs and zip files of doxygen output for the standard formats. A local directory has source and documentation too. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page
- Changes in Rcpp API:
- Implicit conversions, e.g. between
NumericVectorandIntegerVector, will now give warnings if you use#define RCPP_WARN_ON_COERCEbefore including the Rcpp headers.- Templated
Listcontainers,ListOf<T>, have been introduced. When subsetting such containers, the return is assumed to be of type T, allowing code such asListOf<NumericVector> x; NumericVector y = x[0] + x[1] + x[2].- In a number of instances, returned results are protected and/or cast more carefully.
- Changes in Rcpp Attributes
- Trailing line comments are now stripped by the attributes parser. This allows the parser to handle C++ source files containing comments inline with function arguments.
- The
USE_CXX1Xenvironment variable is now defined by the cpp11 plugin when R >= 3.1. Two additional plugins have been added for use with C++0x (eg when using g++ 4.6.* as on Windows) as well as C++1y for compilers beginning to support the next revision of the standard; additional fallback is provided for Windows.compileAttributes()now also considers Imports: which may suppress a warning when runningRcpp.package.skeleton().
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
I m writing this on the train back from the
I ve been learning about android development over the last few weeks, and I think I m slowly getting the hang of best practices.
It s a bit tough, there s a lot of stuff that s not super Java-idomatic that s become Android-idiomatic, so getting over that stuff has been interesting.
I ve been finding that Android tends to re-implement most things in a similar enough way, but always with some small tweak that feels kinda funny.
It s working well enough, and I m hoping that I can clean up a few android libraries to deal with some of the OpenGov datasets I m interested in.
If anyone has any tips on proper handling of what to make a fragment, and what activities should look like, I d really love posts about that.
It seems like sometimes I have a 1-to-1 mapping of Fragments to Activity, but I want to keep it a fragment for large devices.
Anyway, best practices welcome.
According to the
The heading might be ambiguous, but I couldn't figure out better
heading so let me start by explaining what I'm trying to solve here.
If anybody has access to a complete mirror of the Debian Wheezy release, and was willing to share a list of all setuid/setgid binaries that would be greatly appreciated.
It doesn't seem to be something you can find online, so you need to manually unpack each .deb file and look at the permissions.
I don't have access to a (complete) local mirror, and so I cannot easily build such a thing, unless I go to ebay and buy a random DVD-archive.
This list would be useful for folk wanting to direct their audits ..
I just got my tickets to Portland, to assist to one of my favorite events:
See you there and let s
I must echo
Dear FSF, stop
My last update about ongoing development of botch, the bootstrap/build ordering
tool chain, was four months ago and about
I ve been pondering co-ops, and their value in the world, lately. The
thought has come to mind that a co-op which ran a Certificate Authority
seems like an absolute no-brainer the members each contribute to the
operational costs (servers, software, and the eye-watering auditing
expenses) and in return get to issue all the domain-verified certificates
they like (and pay reasonable rates for organization-verified certificates,
and perhaps even EV certs).
I know there are some superficially similar examples of this idea out there
already.