This package automatically sets options("width") when using R in terminal windows on OSX primarily (but on Unix-like OSes too) and resizing the terminal (e.g., iTerm2 on OSX). It may be useful if options(setWidthOnResize=TRUE) does not work properly for any reason.
This package should not be used with graphical interfaces such as RStudio, RKward, JGR, Rcmdr, or any other interface that handles R output on its own, or when using R via remote sessions (like via a ssh connection, for example). The functions only work if R runs interactively in a terminal emulator. The terminal emulator may be called by a text editor like Vim, Gedit, Kate, or Geany.
To install the 'setwidth' package from GitHub run
install.packages("devtools")
devtools::install_github("dlc48/setwidth")- Jakson Alves de Aquino [aut, cre]
- Dominique-Laurent Couturier [maintainer]
