[R] Current Terminal (console) width

Jared Studyvin jstudyvin at west-inc.com
Fri Jan 20 15:58:18 CET 2017


Hello,

On a non Windows OS the following command: Sys.getenv("COLUMNS")
Will return the current width of the R terminal (console) but this does not
work on a Windows OS.

Does anyone know equivelant R code when install on a Windows OS?

I'm using WIndows 10 Pro Version: 1607; R 3.3.2

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