striprtf
striprtf copied to clipboard
Big RTF files are not readable with read_rtf
Hi there,
I have a fairly big file with about 2.5MB of text, but read_rtf will result in an error because of too high stack usage. This might be an algorithmic issue that causes too many recursions.
@convernaticspeter Thanks for the comment. It will be very helpful if you could provide the sample input and the error message, along with the running environment.
@kota7 Thanks for reacting this quickly!
Unfortunately github doesn't accept RTF uploads. But for a RTF file it is fairly big - I created it from multiple exports from a newspapaer database.
Using macOS on ARM with R 4.2.2 and striprtf 0.5.3.
@convernaticspeter I thought you can upload zip (not sure though). Otherwise I will try reproducing it on my end.
news-article-project.zip yes, with a zip it worked - thanks!