1) Your question is no longer related to lbfgsb. It is common to start a new thread with a new Subject: for new questions.
2) You do not show your name or affiliation. That is generally frowned upon around here. 3) Your question was about RInside / Rcpp. We prefer those questions over on the rcpp-devel list. Subscribe first in order to post. 4) Your example is essentially identical to rinside_sample9.cpp for which a patch / pull request was recently integrated. This works with the current sources (from Github) and the upcoming release. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel