Current Terminal (console) width
Hi, Have you looked at
options("width")
$width [1] 80
and does that get at what you need? Ben
On Jan 20, 2017, at 9:58 AM, Jared Studyvin <jstudyvin at west-inc.com> wrote:
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}}
______________________________________________ R-help at 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.
Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Bigelow Drive, P.O. Box 380 East Boothbay, Maine 04544 http://www.bigelow.org