[R] Current R terminal width

Jared Studyvin jstudyvin at west-inc.com
Tue Jan 17 14:56:29 CET 2017


Hello,

I have found when using R in a unix environment that Sys.getenv("COLUMNS")
will return the current R terminal width. This does not work on a Window
OS. How can this be done?

I'm looking for the Windows OS equivalent of options(width=Sys.getenv("
COLUMNS"))

Thanks,

*Jared Studyvin, PhD *
*Statistician*


Environmental & Statistical Consultants
200 S. Second Street
Laramie, WY 82070
(307) 721-3179
jstudyvin at west-inc.com
www.west-inc.com

*Follow WEST: *Facebook
<http://www.facebook.com/pages/Western%E2%80%90EcoSystems%E2%80%90Technology%E2%80%90WESTInc/125604770807646>
, Twitter <http://twitter.com/WestEcoSystems>, Linked In
<http://www.linkedin.com/company/1458419>, Join our Mailing list
<http://visitor.r20.constantcontact.com/manage/optin/ea?v=001qrD4A3S5xJ5KgMyelH9jyw%3D%3D>

CONFIDENTIALITY NOTICE:  This message and any accompanyi...{{dropped:19}}



More information about the R-help mailing list