Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View all the text in a column in R

Tags:

r

rstudio

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

like image 478
Vasile Avatar asked Sep 03 '25 07:09

Vasile


2 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.

like image 64
TheSciGuy Avatar answered Sep 04 '25 19:09

TheSciGuy


It seems like there is not.

Looking at the rstudio website I found the following:

https://support.rstudio.com/hc/en-us/community/posts/214222927-Resize-columns-of-the-data-viewer

like image 42
DataTx Avatar answered Sep 04 '25 21:09

DataTx