Reputation: 1
For some reason, the normal R program stopped working on my Mac. So I've needed to utilize RStudio. RStudio does not allow the viewing of the size of the code I am running. Over 1000 outputs of data. Is there a way to increase the number of lines that the console shows?
Upvotes: 0
Views: 2279
Reputation: 24878
Edit:
Looks like there are two problems.
To fix number 1, you need Limit length of lines displayed in console to:
Also don't forget to set options(max.print=10000)
or whatever number.
For number two you need:
rstudioapi::writeRStudioPreference("console_max_lines", 10000)
Upvotes: 2