On 30 May 2012 at 13:11, alexios ghalanos wrote:
| ok, I found the problem...somewhere in the package I had an # include
| Rmath.h which once I commented out, it builds without problems.
Yes, that happens -- header inclusion is complicated, and it generally just
works
using Rcpp.h.
| Sorry
ok, I found the problem...somewhere in the package I had an # include
Rmath.h which once I commented out, it builds without problems.
Sorry for the bother.
Regards,
Alexios
On 30/05/2012 12:38, Dirk Eddelbuettel wrote:
Hi Alexios,
On 30 May 2012 at 12:00, alexios ghalanos wrote:
| Hi,
|
|
Thanks Dirk.
When I run it inline I have not problem:
library(RcppArmadillo)
library(inline)
# The function draws a vector of random deviates from the multivariate
# Laplace of Kotz (zero mean) given a correlation matrix R.
fx <- cxxfunction( signature(R = "matrix", Z = "numeric" ) , '
Rcpp::Nu
Hi Alexios,
On 30 May 2012 at 12:00, alexios ghalanos wrote:
| Hi,
|
| While writing some extra functions into the rmgarch package (on r-forge)
| which uses RcppArmadillo, I encountered the error relating to 'trunc'
| and 'ftrunc' already discussed here:
|
|
http://lists.r-forge.r-project.or
Hi,
While writing some extra functions into the rmgarch package (on r-forge)
which uses RcppArmadillo, I encountered the error relating to 'trunc'
and 'ftrunc' already discussed here:
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-September/001123.html
This occurred for the fir