[Rcpp-devel] How to use functions from a R library in .cpp file
Li Li
llis at unm.edu
Fri Jan 23 01:29:38 CET 2015
Hi,
I am trying to use the function "pmnorm" from R package "mnormt" in a .cpp file.
I was wondering if anyone could help me with the following code so that I can use "pmnorm" somewhere in my sample function "epsilonij".
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
using namespace arma;
// [[Rcpp::export]]
double epsilonij (double nu_i_lj, Rcpp::NumericVector w, ){
....
}
Thanks.
Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150123/6dbf8bba/attachment-0001.html>
More information about the Rcpp-devel
mailing list