[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Long input lines in R.exe
From:       Jeff Newmiller <jdnewmil () dcn ! davis ! ca ! us>
Date:       2018-12-27 4:02:38
Message-ID: 176D6CF9-A661-42B2-ADA0-92F194227EED () dcn ! davis ! ca ! us
[Download RAW message or body]

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@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@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.

______________________________________________
R-help@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic