From marc_schwartz at me.com  Sat Sep 12 16:52:52 2009
From: marc_schwartz at me.com (Marc Schwartz)
Date: Sat, 12 Sep 2009 09:52:52 -0500
Subject: [Rd] DESCRIPTION/OS_type and OS X
In-Reply-To: <19115.46337.544164.202526@ron.nulle.part>
References: <19115.46337.544164.202526@ron.nulle.part>
Message-ID: <6B1F9DAF-6DBE-4D16-8604-8F8606382E92@me.com>

On Sep 12, 2009, at 9:49 AM, Dirk Eddelbuettel wrote:

>
> R Extensions (Section 1.1.1, and using the 2.9.2 version) says
>
>      The optional `OS_type' field specifies the OS(es) for which the
>  package is intended.  If present, it should be one of `unix' or
>  `windows', and indicates that the package should only be installed  
> on a
>  platform with `.Platform$OS.type' having that value.
>
> and I am wondering if 'OS_type: unix' includes OS X or not.  I am  
> currently
> updating RInside which builds on the two unixy OS variants.  Would I  
> exclude
> OS X by picking OS_type: unix ?  I don't think so but maybe this  
> could be
> made more explicit in the paragraph above.
>
> Dirk

Dirk,

On OSX:

 > .Platform$OS.type
[1] "unix"


Remember that OSX is a BSD Unix derivative.

HTH,

Marc Schwartz



[Rd] DESCRIPTION/OS_type and OS X
Marc Schwartz