library(Rcpp)
def = "bool is_na_character_vector(CharacterVector x) { return
CharacterVector::is_na(x); }"
f = cppFunction(def)
print(f(as.character(NA))) # FALSEWhat am I missing? THK -- http://www.keittlab.org/
_______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
