search for: splitnames

Displaying 4 results from an estimated 4 matches for "splitnames".

2003 Oct 16
2
returning dynamic variable names from function
...NIPPET BELOW: loadFiles <- function() { fullFileNames <- choose.files(filters = c("Fluor file (*.data,*.Dat)", "*.dat;*.Dat")) numFiles <- length(fullFileNames) fileNames <- basename(fullFileNames) # removes the all the paths from the full filenames splitNames <- strsplit(fileNames,"_") # create a "list" of strings separated by the "_" character dfNames <- sapply(splitNames,"[",1) # or I could use "sapply(splitNames, function (x) x[1])" OR EVEN "unlist(lapply(splitNames, function(x...
2013 Apr 25
1
Linear Interpolation : Missing rates
Dear R forum I have data.frame as df = data.frame(rate_name = c("USD_1w", "USD_1w", "USD_1w", "USD_1w", "USD_1m", "USD_1m", "USD_1m", "USD_1m", "USD_2m", "USD_2m", "USD_2m", "USD_2m",  "GBP_1w", "GBP_1w", "GBP_1w", "GBP_1w",
2013 Apr 24
2
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
I upgraded my versions of llvm, clang and compiler-rt to the top-of-tree versions from last night (r180162, April 24). I recompiled debug versions of llvm, clang and my code. I then regenerated my test case and the results were the same - I can list lines of dwarf1.lsp in lldb but I can't set break-points or do anything else (what else should I be able to do?). The updated file that
2013 Apr 24
0
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
One other thing that may or may not illuminate the situation. When I run under gdb (on OS X 10.8.3 this is an ancient version of gdb 6.3.5 - but it works with clang compiled C++ code) I get the following error when I try to list a line in dwarf1.lsp: Dwarf Error: Cannot handle DW_FORM_<unknown> in DWARF reader [in module /Users/meister/Development/cando/src/tests/core/dwarf1.bundle] (gdb)