A Limitation of R: Line Length Limits

I use the latest R (v. 3.3.3) and RStudio (v. 1.0.136), the latter of which has a default setting for the # of lines the console displays (under Tools -> Global Options -> Code -> Display -> Console). You can change it to 0 to get it to display all the lines, but it seems to still have a problem interpreting the line. If I run a really long line (in this case, a vector), while now the whole thing writes out to the console, the console seems to think the end parenthesis is missing. The console displays a “+” as if the line is incomplete. It turns out this is a limitation of R.

Leave a Reply

Your email address will not be published. Required fields are marked *