Rcpp从S4插槽隐式构造DataFrame

时间:2014-09-22 18:09:44

标签: r rcpp s4

Rcpp::DataFrame pData =pheno.slot("data")

这在clang ++上失败但是用g ++成功

error: conversion from 'Rcpp::SlotProxyPolicy<Rcpp::S4_Impl<PreserveStorage> >::SlotProxy' to 'Rcpp::DataFrame' (aka 'DataFrame_Impl<PreserveStorage>') is ambiguous
            Rcpp::DataFrame fsdata = fspd.slot("data");
                            ^        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜

0 个答案:

没有答案