View all the text in a column in R

Viewed 1675

I have a character variable with long text. I can not see the full text of this variable (as shown in the image) in R Studio. Is there a way to display it?

enter image description here

3 Answers

You could save it as a .csv and then view the entire column that way.

    write.csv(MyData, file = "MyData.csv")

Not sure if this is the best way, but it's my go-to when I have long strings of data in one column.

I just found an newer version of R that was created to expand columns. Here's the link to it:

https://dailies.rstudio.com/

You should be able to click and drag the column to whatever width you want.

Related