Marek Gagolewski

Results 118 comments of Marek Gagolewski

Just take a look at the way I handle UTF8 string input in `stringi`. It's pretty simple. I suggest you `LinkingTo: stringi`, call `stri_enc_toutf8` on a given `SEXP` object and...

Rcpp 0.12.6 is now on CRAN http://dirk.eddelbuettel.com/blog/2016/07/19/#rcpp_0.12.6

The desired strategy is to "return NA if the corresponding input is missing". Btw, will the functions be vectorized with respect to both the "haystack" and the "needle" (e.g., n...

sure, give it a try; BTW, this is not an exported function but in some of the cases you may call stringi functions from C code directly, take a look...

Qin, Congratulations, as you probably already know, the RE2 project has been accepted!

You're way ahead the timeline! Theoretically, you should now "Look for examples of how regular expressions are used in existing R packages." :stuck_out_tongue: Congrats!

On the other hand, @qinwf could make the API as much similar to stringi (and hence stringr) as possible. Who knows, maybe re2r will some day be wrapped by stringr...

I recommend that the output is always UTF-8, irrespectively of the input enc. This is how I do in stringi too.

Now the behavior is incorrect: ``` [gagolews@zeus tmp]$ LC_ALL="pl_PL.iso-8859-2" R R Under development (unstable) (2016-04-14 r70486) -- "Unsuffered Consequences" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu...

## Review checklist for @gagolews ### Conflict of interest - [x] I confirm that I have read the [JOSS conflict of interest (COI) policy](https://github.com/openjournals/joss/blob/master/COI.md) and that: I have no COIs...