Displaying 1 result from an estimated 1 matches for "setdatevalu".
Did you mean:
setdatevalue
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
...t;); // level 1
levelNames[1] = std::string("fail"); // level 2
// First row (this one determines column types).
std::vector<ColDatum> row1(numCol);
row1[0].setStringValue("a");
row1[1].setDoubleValue(3.14);
row1[2].setFactorValue(levelNames, numLevels, 1);
row1[3].setDateValue(RcppDate(7,4,2006));
frame.addRow(row1);
// Second row.
std::vector<ColDatum> row2(numCol);
row2[0].setStringValue("b");
row2[1].setDoubleValue(6.28);
row2[2].setFactorValue(levelNames, numLevels, 1);
row2[3].setDateValue(RcppDate(12,25,2006));
frame.addRow(row2);
RcppRes...