Displaying 2 results from an estimated 2 matches for "ifsplit".
Did you mean:
fsplit
2019 Dec 18
2
A weird behaviour of strsplit?
...cter vector (or object which can be coerced to such) containing regular expression<http://127.0.0.1:39783/help/library/base/help/regular%20expression>(s) (unless fixed = TRUE) to use for splitting. If empty matches occur, in particular if split has length 0, x is split into single characters. Ifsplit has length greater than 1, it is re-cycled along x.
Taking into account that split is said to be a vector (not a length 1 vector) and the last claim above, I would expect that the output of
strsplit("3:4", split = c(",",":"), fixed = TRUE)
was the same than the out...
2019 Dec 18
0
A weird behaviour of strsplit?
...cter vector (or object which can be coerced to such) containing regular expression<http://127.0.0.1:39783/help/library/base/help/regular%20expression>(s) (unless fixed = TRUE) to use for splitting. If empty matches occur, in particular if split has length 0, x is split into single characters. Ifsplit has length greater than 1, it is re-cycled along x.
>
> Taking into account that split is said to be a vector (not a length 1 vector) and the last claim above, I would expect that the output of
>
>
> strsplit("3:4", split = c(",",":"), fixed = TRUE)
&...