Ananda Mahto
Ananda Mahto
@aushev , does `cSplit(dt1, splitCols = 'V2', sep = ';', direction = 'long', stripWhite = FALSE)` do what you expect? ``` cSplit(dt1, splitCols = "V2", sep = ";", direction =...
@aushev , sorry. I was testing with different data--where the empty cells are replaced with `" "`. In other words, the approach would work with: ``` cSplit(replace(dt1, dt1 == "",...
@aushev , Sure. If you would like to propose the edits to the documentation via a pull request, that would be appreciated. I should note, however, that this behavior is...
@aushev, @bilydr, I haven't had a chance to do any work on this, but the `tidyr` package (version 0.5.0) has a new function called `separate_rows` which does what you are...
Will be fixed in [the forthcoming version of `cSplit`](https://gist.github.com/mrdwab/a61efe8c201995633f30c7d7eaed40d4#file-fsplit-r): cSplit_fread(dt1, "V2", ";", "long") ## V1 V2 V3 ## 1: x 1 1 ## 2: x 2 1 ## 3: x...
@wush978, that looks like great work. I'll try to look over your package in the next few days as I'm travelling at the moment.
@aushev Thanks for this. I must have missed something when I had rewritten the function. Time to write some tests, I guess! A workaround, until I get a chance to...
Note to self: Test performance of the following: ``` r cols
Will be fixed with [the next version of `cSplit()`](https://gist.github.com/mrdwab/a61efe8c201995633f30c7d7eaed40d4#file-fsplit-r): ``` dt2
Also test https://stackoverflow.com/q/47046947/1270695 to see whether `|` is problematic.