How to shorten the length of long sequence of text in R

r
text_analytics

#1

I am currently studying about text analysis in R while studying I encounter one problem.I have one data set in which each data is of very long length which makes the reading of the data very difficult task.So I want to know is there a function in R which divides the whole data into small parts by which I can read the data.

In the image when I tried to access the first value of email I am not able to read whole value.


#2

strwrap() is your friend.

https://stat.ethz.ch/R-manual/R-devel/library/base/html/strwrap.html