bubbalouie bubbalouie - 1 year ago 133
R Question

Scrolling back through the RStudio console

This is just a RStudio interface question:

When scrolling back through the console to see my work and outputs I can only scroll back so far. Is there a way to open up the console and scroll back through everything I have done?

Sometimes I want to check results of a very long list, or I forget to write code in the script box instead of the console and want to scroll back to review it.


Answer Source

In addition to the excellent comments of others, if you have a data.frame called df with 2000 rows and 2 columns, to view all of them, type on the console:

utils::View(df) # opens a new separate window to view all the records.

In order to view just 500:1000 records of the data.frame just do:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download