Re: [Rcpp-devel] Not able to convert from Rcpp::NumericVector to Teuchos::ArrayRCP

2014-05-22 Thread Romain François
Hello, From what I understand of ArrayRCP, having read the documentation for a few minutes. (http://trilinos.sandia.gov/packages/docs/r9.0/packages/teuchos/doc/html/classTeuchos_1_1ArrayRCP.html) This looks like a vector and therefore it is likely that the default Exporter will not be useful a

Re: [Rcpp-devel] file name changed in package

2014-05-22 Thread Dirk Eddelbuettel
On 22 May 2014 at 15:38, Chaomei Lo wrote: | Hi, Dirk, |   | I have created R packages using Makevars and it works pretty good for me. I am | able to convert from a Rcpp::NumericVector to std::vector as in below. |   | NumericVector col_cts = buildMatrix(Xr); | | vector col_counts = Rcpp::as> | (

[Rcpp-devel] Not able to convert from Rcpp::NumericVector to Teuchos::ArrayRCP

2014-05-22 Thread Chaomei Lo
Sorry to confuse you, Dirk, I had my previous message title wrong. Here below was the message with the correct title and content. I have created R packages using Makevars and it works pretty good for me. I am able to convert from a Rcpp::NumericVector to std::vect

[Rcpp-devel] file name changed in package

2014-05-22 Thread Chaomei Lo
Hi, Dirk, I have created R packages using Makevars and it works pretty good for me. I am able to convert from a Rcpp::NumericVector to std::vector as in below. *NumericVector col_cts = buildMatrix(Xr);vector col_counts = Rcpp::as>(col_cts); * Now I am having a problem with an application invo