-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strings dependency #216
Comments
I think what you are doing currently is quite reasonable: Lines 106 to 114 in c55513d
I wouldn't worry too much about the performance of |
Thanks for the suggestion, I am closing the issue with your blessing. I added it because of a use case in clinical trial that requires to save all safety data as a listing in RTF format for EU (called ICH listing). For a large trial, it can goes to > 100k records with > 10k pages in a RTF files. |
For 100k records, the time difference may be noticeable but I guess BTW, for |
In the
convert
function, I need to replace strings based on a mapping rule.Currently, I rely on
stringi
in the convert function. Is there a efficient way in using base R?r2rtf/R/conversion.R
Line 107 in c55513d
Here is an example mappings I would need to transfer from left side to the right side in a vector of strings.
cc: @nanxstats @yihui
The text was updated successfully, but these errors were encountered: