[Rd] DESCRIPTION/OS_type and OS X

Marc Schwartz marc_schwartz at me.com
Sat Sep 12 16:52:52 CEST 2009


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



More information about the R-devel mailing list