[Rcpp-devel] Value type of DataFrame::operator[]

Brook Milligan brook at nmsu.edu
Fri Dec 6 23:59:00 CET 2019


Is there a way to discover the value type for the result of calling DataFrame::operator[]?  For example, is there a metafiction that will deduce the type?

A similar question could be asked about the result of calling Vector::operator[].

I understand that these functions actually return a proxy, but it would be very helpful to find out the underlying value type.

Thanks for your help.

Cheers,
Brook



More information about the Rcpp-devel mailing list