[R] line wrap in R console under windows

Duncan Murdoch murdoch at stats.uwo.ca
Tue Apr 21 13:19:58 CEST 2009


On 21/04/2009 6:03 AM, William Simpson wrote:
> I would like the R console to wrap lines at 80 cols.
> It does not do so, even though I have used the Rgui Configuration
> Editor to set the Console cols at 80 and the Pager cols at 80.
> 
> Please tell me how to set it up so I have word wrap.
> 
> Just to be clear: in older/other R versions, console input is wrapped
> at 80 cols and so you have something that looks like
>> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
>  blah blah blah blah blah blah blah blah blah blah blah blah blah blah
> blah blah blah blah
> Instead of what I see, which is
>> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah$
> and I need to scroll sideways to see the rest of the stuff past $

Which version are you talking about?  I don't recall Rgui ever wrapping 
input.  The config settings affect output.  Maybe you're thinking of Rterm?

Duncan Murdoch


> 
> I checked the archives and saw no postings on this.
> 
> Thanks very much for any help.
> 
> Bill
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.




More information about the R-help mailing list