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

2014-05-23 Thread Chaomei Lo
Hi, Romain, Your suggestion works pretty well. I appreciate your valuable help ! Chaomei On Thu, May 22, 2014 at 4:18 PM, Romain François wrote: > Hello, > > From what I understand of ArrayRCP, having read the documentation for a > few minutes. ( > http://trilinos.sandia.gov/packages/docs/r9.

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

[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