[Rcpp-devel] Prior art on R packages using Rcpp/C++ to call a Fortran(90->2008) library, using iso_c_binding

2013-08-17 Thread Jean-Michel.Perraud
Hi, I am seeking existing code/documentation for such a situation. General advice very welcome. Technically a few precisions: - the Fortran library is(will be) substantial in size, and compiled with gfortran or Intel fortran (i.e. not when building the R package) - I intend to write an interop

[Rcpp-devel] Exporter.h cannot convert 'SEXP' to 'const std::vector*' in initialization

2013-10-23 Thread Jean-Michel.Perraud
Hi, This has to be a basic question, but I cannot figure out what I am missing nor see quite similar pre-existing posts. I am trying to create an Rcpp module around a class (generated C++ proxy class). The environment is Rcpp 0.10.5 on Windows, R 3.0.2 x64 and RTools 3.0. R CMD INSTALL spits t

Re: [Rcpp-devel] Exporter.h cannot convert 'SEXP' to 'const std::vector*' in initialization

2013-10-24 Thread Jean-Michel.Perraud
Hi Dirk, Thank you for the sound advice to simplify and test with cppInline. That indeed helps check what works or not for as<> and wrap<>. Re-reading with a clearer head your book section on what can be wrapped by a call to _class.method(...), I figured out that I could use something like follo

[Rcpp-devel] Rcpp built with the visual c++ compiler - possible uses

2015-04-08 Thread Jean-Michel.Perraud
In the course of building an R package that would depend on Rcpp, I investigated whether compiling these two packages with MS VC++ is feasible, having users (me included) that work principally from Visual Studio as an IDE. With a couple of adjustments, but not much, it appears possible at least

[Rcpp-devel] Rcpp.package.skeleton load fails on Debian with Rcpp 0.12.0, seems OK with Rcpp 0.12.0.2

2015-08-25 Thread Jean-Michel.Perraud
Hi, I noticed that the output of Rcpp.package.skeleton fails with Rcpp 0.12.0 on CRAN if using module=TRUE, at least on a debian box. Installing Rcpp from the source on github, using devtools::install_github, solves the issue. Repro info: > library(Rcpp) # 0.12.0 > Rcpp.package.skeleton(nam