I found this code rstudioapi::writeRStudioPreference(console_max_lines, 300) in a topic in this community as I wanted a way to see more than 1000 lines in my R Studio console but it ran an error
Error in .rs.writePrefInternal("rs_writeUserPref", prefName, value) :
Type mismatch: expected ; got
So I edited it to rstudioapi::writeRStudioPreference("console_max_lines", as.integer(5000))
It ran without error but then when I tried to run my whole script and review the console, I was still limited to 1000 rows.
Any ideas how I can see more than 1000 rows in the console?