[Rcpp-devel] "expecting a string" and not finding it in a CharacterVector

Romain Francois romain at r-enthusiasts.com
Sun Feb 10 15:06:52 CET 2013


Right. I see what you mean. If it does bot disturbe anything else, i should be able to bring it back. 

Romain


Le 10 févr. 2013 à 04:54, Davor Cubranic <cubranic at stat.ubc.ca> a écrit :

> On 13-02-09 05:06 AM, Dirk Eddelbuettel wrote:
>> 
>> On 8 February 2013 at 20:58, Davor Cubranic wrote:
>>> That fixed just the runtime fault in "as", right? Or did it somehow
>>> also take care of ctor for const string from an element of const
>>> CharacterVector?
> >
>> Variants with 'const CharacterVector' still fail. That would involve
>> a lot more work to extend as<> to permit them.
> 
> I didn't mean "const as<>", but a const version of CharacterVector::operator[] that can be used in a const string's constructor, as it did before 0.10.1.
> 
> Davor
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list