Try this
 Sys.info()["sysname"]

Etienne

----- Original Message ----- 
From: "Omar Lakkis" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 13, 2005 8:29 PM
Subject: [R] what OS


> How can I determine whT OS I am running under?
>
> if WINDOWS do this
> if LINUX do that
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.23/99 - Release Date: 12/09/2005
>
>



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to