[R] Long input lines in R.exe

Jeff Newmiller jdnewmil @ending from dcn@d@vi@@c@@u@
Thu Dec 27 05:02:38 CET 2018


No. This is a limitation of CMD that R is not designed to work around.

On December 26, 2018 8:47:44 AM PST, RK <arkay7777 using gmail.com> wrote:
>Hi,
>
>When I run R.exe (or Rterm.exe) from cmd.exe and enter in a long input
>line, e.g.
>
>print("12345678901234567890123456789012345678901234567890123456789012345678901234567890")
>
>the visible portion of the input is truncated to:
>
>print("123456789012345678901234567890123456789012345678901234567890123456789$
>
>In effect, I cannot see the full input line all at once. The visible
>portion of the input, including the $ symbol is 77 characters which
>must be a terminal width setting. Scrolling to the other end of the
>line, allows me to see the hidden portion but this is not ideal.
>Changing options(width=132) within R.exe/cmd.exe shows long output
>lines, which tells me that terminal width is not a fundamental
>limitation.
>
>This behavior does not occur when using RGui.exe, RStudio, etc. where
>the visible portion of the input lines is limited by screen width.
>
>Is there any way to make R.exe show long input lines when using
>cmd.exe? I prefer to use R.exe when I am working off the Windows
>console.
>
>I am using R 3.5.2 on Win10, 64-bit.
>
>Thanks,
>RK
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list