Displaying 1 result from an estimated 1 matches for "coldatum".
Did you mean:
coldata
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
...d out (pardon the pun) in
// a future release.
int numLevels = 2;
std::string *levelNames = new std::string[2];
levelNames[0] = std::string("pass"); // 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&quo...