At the moment when I start up an ESS buffer (with M-x R) I get that the output of my commands only occupies about 60ish characters in column width (particularly when displaying data frames with long column names). I was wondering if there was a simple way to adjust this limit.
Ben Bolker's comment is correct: options("width"=200)
is something I use on a machine with wide monitors.
I am not aware of an environment variable that reports this back to ESS to auto-adjust. It would be a useful addition.
And just like options("width")
, a few things are generally useful at startup, so I currently have this on another machine
edd@max:~$ cat .Rprofile
## Example of .Rprofile
options(width=155, digits=6, digits.secs=6)
## AER page vii
options(prompt="R> ")
## Default repo
local({r <- getOption("repos")
r["CRAN"] <- "http://cran.r-project.org"
options(repos=r)
})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With