@@ -10,9 +10,9 @@ author:
1010
1111address :
1212 - code : a
13- address : \url{http ://dirk.eddelbuettel.com}
13+ address : \url{https ://dirk.eddelbuettel.com}
1414 - code : b
15- address : \url{https://romain.rbind.io/ }
15+ address : \url{https://github.com/romainfrancois }
1616
1717# For footer text
1818lead_author_surname : Eddelbuettel and François
@@ -75,7 +75,7 @@ header-includes: >
7575 \newcommand{\proglang}[1]{\textsf{#1}}
7676 \newcommand{\pkg}[1]{\textbf{#1}}
7777 \newcommand{\faq}[1]{FAQ~\ref{#1}}
78- \newcommand{\rdoc}[2]{\href{http://www.rdocumentation.org/packages/#1/functions/#2}{\ code{#2} }}
78+ \newcommand{\rdoc}[2]{\code{#2}}
7979
8080vignette : >
8181 %\VignetteIndexEntry{Rcpp-FAQ}
@@ -131,7 +131,7 @@ means one needs:
131131 ` --enable-shared-lib ` option;
132132- standard development tools such as ` make ` etc.
133133
134- Also see the [ RStudio documentation] ( http ://www.rstudio.com/ide/docs/packages/prerequisites )
134+ Also see the [ RStudio documentation] ( https ://support.posit.co/hc/en-us/articles/200486498-Package-Development-Prerequisites )
135135on pre-requisites for R package development.
136136
137137## What compiler can I use {#q: what-compiler }
@@ -153,7 +153,7 @@ Specific per-platform notes:
153153 manual \citep[ Appendix D] {R: Administration }.
154154 \item[ macOS] users, as noted in the "R Administration" manual \citep[ Appendix
155155 C.4] {R: Administration }, need to install the Apple Developer Tools
156- (\textsl{e.g.}, \href{https://developer.apple.com/library/ios /technotes/tn2339/_index.html}{Xcode Command Line Tools} (as well as \texttt{gfortran} if \proglang{R} or
156+ (\textsl{e.g.}, \href{https://developer.apple.com/library/archive /technotes/tn2339/_index.html}{Xcode Command Line Tools} (as well as \texttt{gfortran} if \proglang{R} or
157157 Fortran-using packages are to be built); also see \faq{q: OSX } and
158158 \faq{q: OSXArma } below. This is frustratingly moving target; consult
159159 the \code{r-sig-mac} list (and its archives) for (current) details.
@@ -478,7 +478,7 @@ able to mix. In such cases, it is better to provide collaborators with the
478478
479479By default, the macOS operating environment lacks the ability to parallelize
480480sections of code using the [ \proglang{OpenMP}
481- standard] ( http ://openmp.org/wp/) . Within \proglang{R} 3.4.* , the default
481+ standard] ( https ://www. openmp.org/wp/) . Within \proglang{R} 3.4.* , the default
482482developer environment was _ changed_ to allow for \proglang{OpenMP} to be used
483483on macOS by using a non-default toolchain provided by R Core Team maintainers
484484for macOS. Having said this, it is still important to protect any reference
@@ -516,10 +516,10 @@ Below are additional resources that provide information regarding compiling Rcpp
516516 [ on the ` r-sig-mac ` list] ( https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html ) ,
517517 which is generally recommended for macOS-specific questions and further consultation.
5185182 . Another helpful write-up for installation / compilation on macOS Mavericks is provided
519- [ by the BioConductor project] ( http ://www .bioconductor.org/developers/how-to/mavericks-howto/ ) .
519+ [ by the BioConductor project] ( https ://contributions .bioconductor.org/cmavericks-best-practices.html ) .
5205203 . Lastly, another resource that exists for installation / compilation
521521 help is provided at
522- < http ://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-os-x/> .
522+ < https ://blog. thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-os-x/index.html > .
523523
524524\textbf{Note:} If you are running into trouble compiling code with \pkg{RcppArmadillo}, please also see \faq{q: OSXArma } listed below.
525525
@@ -612,11 +612,11 @@ The following questions were asked on the
612612[ Rcpp-devel] ( https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel )
613613mailing list, which is our preferred place to ask questions as it guarantees
614614exposure to a number of advanced Rcpp users. The
615- [ StackOverflow tag for rcpp] ( http ://stackoverflow.com/questions/tagged/rcpp)
615+ [ StackOverflow tag for rcpp] ( https ://stackoverflow.com/questions/tagged/rcpp)
616616is an alternative; that site is also easily searchable.
617617
618618Several dozen fully documented examples are provided at the
619- [ Rcpp Gallery] ( http ://gallery.rcpp.org) -- which is also open for new contributions.
619+ [ Rcpp Gallery] ( https ://gallery.rcpp.org) -- which is also open for new contributions.
620620
621621
622622## Can I use templates with \pkg{Rcpp}
@@ -718,7 +718,7 @@ operations. That is a mouthful of words meaning that it makes the code go
718718faster by using fiendishly clever ways available via the so-called template
719719meta programming, an advanced \proglang{C++} technique.
720720Also, the \pkg{RcppEigen} package \citep{JSS:RcppEigen} provides an alternative using the
721- [Eigen](http ://eigen.tuxfamily.org ) template library.
721+ [Eigen](https ://libeigen.gitlab.io ) template library.
722722
723723### Using inline with RcppArmadillo {#using-inline-armadillo}
724724
@@ -757,7 +757,7 @@ The focus is on the code `arma::trans(x) * arma::inv(Y) * z`, which
757757performs the same operation as the R code ` t(x) %*% solve(Y) %*% z ` ,
758758although Armadillo turns it into only one operation, which makes it quite fast.
759759Armadillo benchmarks against other \proglang{C++} matrix algebra libraries
760- are provided on [ the Armadillo website] ( http ://arma.sourceforge.net/speed.html) .
760+ are provided on [ the Armadillo website] ( https ://arma.sourceforge.net/speed.html) .
761761
762762It should be noted that code below depends on the version ` 0.3.5 ` of
763763\pkg{inline} and the version ` 0.2.2 ` of \pkg{RcppArmadillo}.
896896Armadillo supports a full range of common linear algebra operations.
897897
898898The \pkg{RcppEigen} package provides an alternative using the
899- [ Eigen] ( http ://eigen.tuxfamily.org ) template library.
899+ [ Eigen] ( https ://libeigen.gitlab.io ) template library.
900900
901901Rcpp Attributes, once again, makes this even easier:
902902
@@ -1065,7 +1065,7 @@ suggestion or fix for casting 64-bit integer values: 32-bit integer values
10651065fit into ` integer ` types, up to 53 bit precision fits into
10661066` numeric ` and beyond that truly large integers may have to converted
10671067(rather crudely) to text and re-parsed. Using a different representation as
1068- for example from the [ GNU Multiple Precision Arithmetic Library] ( http ://gmplib.org/)
1068+ for example from the [ GNU Multiple Precision Arithmetic Library] ( https ://gmplib.org/)
10691069may be an alternative.
10701070
10711071However, with care, and via the package \pkg{bit64}, \proglang{R} can use
@@ -1083,7 +1083,7 @@ system.
10831083
10841084Specific per-platform notes:
10851085
1086- - ** Windows** users probably want the [ MiKTeX] ( http ://miktex.org/) .
1086+ - ** Windows** users probably want the [ MiKTeX] ( https ://miktex.org/) .
10871087 Suggestions for a more detailed walk through would be appreciated.
10881088- ** macOS** users seem to fall into camps which like or do not like brew /
10891089 homebrew. One suggestion was to install
@@ -1109,7 +1109,7 @@ generator scripts to explicitly enumerate arguments, and that number has to stop
11091109at some limit. We chose 20.
11101110
11111111A good discussion is available at
1112- [ this StackOverflow question] ( http ://stackoverflow.com/questions/27371543)
1112+ [ this StackOverflow question] ( https ://stackoverflow.com/questions/27371543)
11131113concerning data.frame creation with \pkg{Rcpp}. One solution offers a custom
11141114` ListBuilder ` class to circumvent the limit; another suggests to simply
11151115nest lists.
@@ -1168,7 +1168,7 @@ Note: In `cpp`, the default `bool` values are `true` and
11681168
11691169But of course. In a nutshell, this boils down to \emph{what your compiler
11701170 supports}, and also \emph{what R supports}. We expanded a little on this in
1171- [Rcpp Gallery article](http ://gallery.rcpp.org/articles/rcpp-and-c++11-c++14-c++17/) providing more detail. What follows in an abridged summary.
1171+ [Rcpp Gallery article](https ://gallery.rcpp.org/articles/rcpp-and-c++11-c++14-c++17/) providing more detail. What follows in an abridged summary.
11721172
11731173You can always \emph{locally} set appropriate `PKG_CXXFLAGS` as an
11741174environment variable, or via `~/.R/Makevars`. You can also set plugins and/or R
@@ -1201,7 +1201,7 @@ conda install gxx_linux-64
12011201helps within this environment as it installs the corresponding
12021202` x86_64-conda_cos6-linux-gnu-c++ ` compiler. Documentation for this and other
12031203systems is provided
1204- [ at this page] ( https://conda.io/docs/user-guide/tasks/build-packages/compiler-tools.html ) .
1204+ [ at this page] ( https://docs. conda.io/docs/user-guide/tasks/build-packages/compiler-tools.html ) .
12051205
12061206## Can I speed up compilation?
12071207
@@ -1230,12 +1230,12 @@ exclude these different (layered) bits of functionality.
12301230
12311231You bet. We use \proglang{doxygen} to generate html, latex and man page
12321232documentation from the source. The html documentation is available for
1233- [ browsing] ( http ://dirk.eddelbuettel.com/code/rcpp/html/index.html) , as a
1234- [ very large pdf file] ( http ://dirk.eddelbuettel.com/code/rcpp/Rcpp_refman.pdf) ,
1233+ [ browsing] ( https ://dirk.eddelbuettel.com/code/rcpp/html/index.html) , as a
1234+ [ very large pdf file] ( https ://dirk.eddelbuettel.com/code/rcpp/Rcpp_refman.pdf) ,
12351235and all three formats are also available a zip-archives:
1236- [ html] ( http ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-html.zip) ,
1237- [ latex] ( http ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-latex.zip) , and
1238- [ man] ( http ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-man.zip) .
1236+ [ html] ( https ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-html.zip) ,
1237+ [ latex] ( https ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-latex.zip) , and
1238+ [ man] ( https ://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-man.zip) .
12391239
12401240## Does it really work
12411241
@@ -1252,13 +1252,13 @@ The
12521252mailing list hosted at R-forge is by far the best place. You may also want
12531253to look at the list archives to see if your question has been asked before.
12541254
1255- You can also use [ StackOverflow via its 'rcpp' tag] ( http ://stackoverflow.com/questions/tagged/rcpp) .
1255+ You can also use [ StackOverflow via its 'rcpp' tag] ( https ://stackoverflow.com/questions/tagged/rcpp) .
12561256
12571257## Where can I read old questions and answers
12581258
12591259The normal [ Rcpp-devel] ( https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel )
12601260mailing list hosting at R-forge contains an archive, which can be
1261- [ searched via swish] ( http ://lists.r-forge.r-project.org/mailman/swish.cgi?query=listname=rcpp-devel) .
1261+ [ searched via swish] ( https ://lists.r-forge.r-project.org/mailman/swish.cgi?query=listname=rcpp-devel) .
12621262
12631263Alternatively, one can also use
12641264[ Mail-Archive on Rcpp-devel
] ( http://www.mail-archive.com/[email protected] /info.html ) @@ -1278,7 +1278,7 @@ You can also spread the word about \pkg{Rcpp}. There are many packages on CRAN
12781278that use \proglang{C++}, yet are not using \pkg{Rcpp}. You could blog about
12791279it, or get the word out otherwise.
12801280
1281- Last but not least the [ Rcpp Gallery] ( http ://gallery.rcpp.org) is open
1281+ Last but not least the [ Rcpp Gallery] ( https ://gallery.rcpp.org) is open
12821282for user contributions.
12831283
12841284## I don't like it. How can I help {#dont-like-help}
@@ -1302,7 +1302,7 @@ From late 2008 to late 2013, we used the
13021302which contained \pkg{Rcpp} and a number of related packages. It still has the full
13031303history as well as number of support files.
13041304
1305- We have since switched to a [ Git repository at Github] ( http ://github.com/RcppCore/Rcpp)
1305+ We have since switched to a [ Git repository at Github] ( https ://github.com/RcppCore/Rcpp)
13061306for \pkg{Rcpp} (as well as for \pkg{RcppArmadillo} and \pkg{RcppEigen}).
13071307
13081308# Known Issues
@@ -1573,7 +1573,7 @@ elements. With the release of \proglang{R}'s 3.0.0, long vector support was adde
15731573allow for largest vector possible to increase up to $2^{52}$ elements on x64 bit
15741574operating systems (c.f. [ Long Vectors help entry] ( https://stat.ethz.ch/R-manual/R-devel/library/base/html/LongVectors.html ) ).
15751575Once this was established, support for long vectors within the \pkg{Rcpp} paradigm
1576- was introduced with \pkg{Rcpp} version 0.12.0 (c.f [ \pkg{Rcpp} 0.12.0 annoucement] ( http ://dirk.eddelbuettel.com/blog/2015/07/25/) ).
1576+ was introduced with \pkg{Rcpp} version 0.12.0 (c.f [ \pkg{Rcpp} 0.12.0 annoucement] ( https ://dirk.eddelbuettel.com/blog/2015/07/25/) ).
15771577
15781578However, the requirement for using long vectors in \pkg{Rcpp} necessitates the
15791579presence of compiler support for the ` R_xlen_t ` , which is platform
0 commit comments