Many thanks to Dirk and Brian!
The tips helped me a lot.
Kind regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented,
Hi Asis,
On 24 May 2013 at 11:10, Asis Hallab wrote:
| Dear R experts,
|
| recently I started developing a Rcpp package "OpenMPTest".
| Within that package I want to use OpenMP, as in the following code example:
|
| // header file
| #include
| using namespace Rcpp ;
| RcppExport SEXP testOpenM
This really is the wrong list: have you looked at the posting guide?
The non-Rcpp aspects belong on R-devel.
But in short, you cannot control whether the R installation supports
OpenMP. 'Writing R Extensions' tells you how to set up Makevars, so the
example has already been documented for you
Dear R experts,
recently I started developing a Rcpp package "OpenMPTest".
Within that package I want to use OpenMP, as in the following code example:
// header file
#include
using namespace Rcpp ;
RcppExport SEXP testOpenMP( SEXP nThreads ) ;
// cpp file
SEXP testOpenMP( SEXP nThreads ) {
BE
4 matches
Mail list logo