How to change the number of columns and rows displayed in the data frame of R Studio

When I start my studio R laptop, the default dataframe / tables is 10 lines. How to display 20 lines?

Also, if I have many columns, I have to click the “Next” button in the upper right corner to see other columns. How can I display all columns at once? The browser definitely has enough space to view a larger table, but could this be another possible solution to view all the columns together: reduce the font in each column? If so, how can I do this?

This is different from the View function, and since it is a laptop, the visualization of the data frame is different from the usual R executable in Studio R. Instead of the view function, I use the head (x, 20) function to display the first 20 lines, but the laptop forces me to click the tab page 2 to see the next 10 lines.

+4
source share

Source: https://habr.com/ru/post/1682959/


All Articles