[R] R in different OS

Hui Du Hui.Du at dataventures.com
Fri Feb 25 22:16:57 CET 2011


Great. Thanks.

Best Regards,
Hui Du

Data Ventures Inc


-----Original Message-----
From: David Winsemius [mailto:dwinsemius at comcast.net] 
Sent: Friday, February 25, 2011 12:59 PM
To: Hui Du
Cc: r-help at r-project.org
Subject: Re: [R] R in different OS


On Feb 25, 2011, at 1:23 PM, Hui Du wrote:

> Hi All,
>
>                I have two Rs, one has been installed in Windows  
> system and another one has been installed under UNIX system. Is  
> there any environmental variable or function to tell me which R I am  
> using? The reason that I need to know it is under different system,  
> the data path could be different. I want to do something like
>
> if it is R under Windows
>
>                path = "/ABC"
> else if it is R under UNIX,
>                path = "/DEF"

?version

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list