Skip to content

Commit 81aed83

Browse files
committed
Merge branch 'master' of github.com:RcppCore/RcppParallel
2 parents 38d0068 + 7f210f0 commit 81aed83

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

inst/presentations/rcpp_parallel_talk_jan2015.Rmd

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ classoption: compress
3232

3333

3434
## Another View on Big Data
35+
\framesubtitle{Imagine a \texttt{gsub("DBMs", "", tweet)} to complement further...}
3536

36-
\begin{figure}
37-
\begin{center}
38-
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{images/big-data-big-machine-tweet.png}
39-
\end{center}
40-
\end{figure}
37+
\centering{\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{images/big-data-big-machine-tweet.png}}
4138

4239
# R
4340

@@ -65,9 +62,18 @@ class wrapper around the R-embedding API.
6562
It got one clever patch taking this (ie: R wrapped in C++ with its own
6663
`main()` function) and encapsulating it within MPI.
6764

65+
HP Vertica also uses Rcpp and RInside in
66+
[DistributedR](https://github.com/vertica/DistributedR/tree/master/third_party).
67+
6868
## Rcpp: More recently
6969

70-
Rcpp has gotten fairly easy to use.
70+
Rcpp has gotten rather easy to deploy:
71+
```{r}
72+
Rcpp::cppFunction("
73+
NumericVector sqrtabs(NumericVector x) {
74+
return(sqrt(abs(x))); }")
75+
sqrtabs(-2:2)
76+
```
7177

7278
OpenMP is easy to use and widely
7379
supported (on suitable OS / compiler combinations).

0 commit comments

Comments
 (0)