[Rcpp-devel] installing Rcpp and working a compilation with C++
Dirk Eddelbuettel
edd at debian.org
Wed Oct 31 12:52:57 CET 2018
On 31 October 2018 at 12:27, Iñaki Ucar wrote:
| On Wed, 31 Oct 2018 at 12:07, Benjamin Levy <sporck at windstream.net> wrote:
| >
| > Reply: bash: PKG_CXXFLAGS=-I/usr/local/lib/R/site-library[B/Rcpp/include: No such file or directory
|
| Note the "[B" after "site-library". Was this line manually entered or
| copied from somewhere? Maybe you involuntarily copied a backspace
| character.
Good catch.
Also while the book is still valid, it uses the older approach. Maybe also
read the newer Rcpp-introduction vignette (included with Rcpp, also at the
CRAN page) and glance at the Rcpp-attributes vignette. Using cppFunction()
and sourceCpp() is much easier.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list