search for: resultvalue

Displaying 3 results from an estimated 3 matches for "resultvalue".

2011 Jul 28
3
Looping through data sets to change column from character to numeric
Greetings to all -- I am having a silly problem that I just can't solve. Someone has given me an .RData file will hundreds of data frames. Each data frame has a column named ResultValue, currently character when it should be numeric. I want to loop through all of the data frames to change the variable to numeric, but I cannot figure out how to do it. My best guess was along the lines of: frames = ls() for (frame in frames){ assign(frame, get(frame), .GlobalEnv) frame[,...
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
...alue()); SDValue rdmsrNode = SDValue(CurDAG->getMachineNode(X86::RDMSR, dl, MVT::Other, setIdNode), 0); SDValue resultNode = CurDAG->getCopyFromReg(rdmsrNode, dl, resultReg, resultType); Ops.push_back(resultNode); Ops.push_back(rdmsrNode); Ops.push_back(setIdNode); SDValue ResultValue = CurDAG->getNode(ISD::TokenFactor, dl, resultType, &Ops[0], Ops.size()); return ResultValue.getNode(); } But when I run this I get: Assertion failed: I != VRBaseMap.end() && "Node emitted out of order - late", file ..\..\..\..\lib\CodeGen\SelectionDAG\InstrEmitte...
2008 Aug 14
3
tryCatch question
I would like to use the 'tryCatch' function but am having a hard time getting my head around it. In 'C' like languages try/catch/finally means try a block of statements and if any throw an error then do the statements in the catch block and then error or not always do the staements in the finally block. In 'R' as best as I can tell the block of staements in the try block is