[Rcpp-devel] vector<string> -> SEXP

Dirk Eddelbuettel edd at debian.org
Mon Nov 9 21:18:58 CET 2009


On 9 November 2009 at 21:02, Romain François wrote:
| I see, thanks. I still think it might be valuable to factor it out as 
| maybe a static method of RstringVector. Something like :
| 
| static SEXP convertToSEXP( std::vector<std::string> v) ;

Oh, I see. 

To eventually have a whole set of helper that convert from STL types to SEXPs
and back?  That would be useful.

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Rcpp-devel mailing list