Thanks it works but I resize my terminals often. So I put in .Rprofile the line:

options(width=system("echo $COLUMNS",intern =TRUE))
 
but I get error :
Error in options(width = system("echo $COLUMNS", intern = TRUE)) :
  invalid 'width' parameter, allowed 10...10000

command works fine in  R but not in .Rprofile ?


-----Original Message-----
From: "Sarah Goslee" [sarah.gos...@gmail.com]
Date: 10/14/2015 10:04 AM
To: "ce" <zadi...@excite.com>
CC: "r-help" <r-help@r-project.org>
Subject: Re: [R] Column width in R terminal ?

See ?options in particular the width option.

Sarah

On Wed, Oct 14, 2015 at 9:52 AM, ce <zadi...@excite.com> wrote:
>
> Dear all,
>
> I use regular R in xterm terminal in KDE Gui . Even though I have a big 
> terminal  and LINES and COLUMNS parameters are set, R shows data frames and 
> lists only 80 characters per line, then the rest on the next line.  How I can 
> set it to real terminal size so it shows all in one line?
>
> thanks
> CE
>

-- 
Sarah Goslee
http://www.functionaldiversity.org

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

Reply via email to