We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5432ae0 commit 731f958Copy full SHA for 731f958
inst/include/Rcpp/internal/r_coerce.h
@@ -290,6 +290,10 @@ template <>
290
inline SEXP r_coerce<LGLSXP ,STRSXP>(int from){
291
return Rcpp::traits::is_na<LGLSXP>(from) ? NA_STRING :Rf_mkChar( coerce_to_string<LGLSXP>(from));
292
}
293
+template <>
294
+inline SEXP r_coerce<SYMSXP ,STRSXP>(SEXP from){
295
+ return Rf_ScalarString( PRINTNAME(from) ) ;
296
+}
297
298
} // internal
299
} // Rcpp
0 commit comments