Converting RTF Files to TXT in R

Recently I downloaded a large number of RTF files. Wanting to analyze this text data in R, I first needed to strip RTF encoding.

In this video I use the striprtf library to loop through a folder of files, convert them to .TXT, and save those .TXT files to another folder. The code is pasted below.

Subscribe to my mailing list.

Leave a Reply

%d bloggers like this: