search for: setstringvalu

Displaying 1 result from an estimated 1 matches for "setstringvalu".

Did you mean: setstringvalue
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
...re 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"); row2[1].setDoubleValue(6.28); row2...