Re: [Rcpp-devel] "No matching function for call to as(double&)" error at compile time

2012-12-06 Thread Romain Francois
Le 06/12/12 05:57, Robert A'gata a écrit : Hi, I am not sure what I am missing. Any help would be greatly appreciated. I have the following code: // myList will have column called "a" Rcpp::List myList = someInputList; Rcpp::NumericVector test = Rcpp::as(myList["a"]); /* up to the above line,

Re: [Rcpp-devel] "No matching function for call to as(double&)" error at compile time

2012-12-06 Thread Dirk Eddelbuettel
On 5 December 2012 at 23:57, Robert A'gata wrote: | Hi, | | I am not sure what I am missing. Any help would be greatly appreciated. I have | the following code: | | // myList will have column called "a" | Rcpp::List myList = someInputList; | Rcpp::NumericVector test = Rcpp::as(myList["a"]); | |

[Rcpp-devel] "No matching function for call to as(double&)" error at compile time

2012-12-05 Thread Robert A'gata
Hi, I am not sure what I am missing. Any help would be greatly appreciated. I have the following code: // myList will have column called "a" Rcpp::List myList = someInputList; Rcpp::NumericVector test = Rcpp::as(myList["a"]); /* up to the above line, everything compiles. Now I want to get a doub