From edd at debian.org  Sat Sep 12 17:12:33 2009
From: edd at debian.org (Dirk Eddelbuettel)
Date: Sat, 12 Sep 2009 10:12:33 -0500
Subject: [Rd] DESCRIPTION/OS_type and OS X
In-Reply-To: <6B1F9DAF-6DBE-4D16-8604-8F8606382E92@me.com>
References: <19115.46337.544164.202526@ron.nulle.part>
	<6B1F9DAF-6DBE-4D16-8604-8F8606382E92@me.com>
Message-ID: <19115.47713.490278.605176@ron.nulle.part>


On 12 September 2009 at 09:52, Marc Schwartz wrote:
| 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"

Thanks, that's exactly what I needed. Maybe one day when I grow up I can
treat myself to one of these shiny computers ...
 
| Remember that OSX is a BSD Unix derivative.

"In theory, theory and practice are the same. In practice, they are not."

Never hurts to double-check. Thanks again!

Dirk

-- 
Three out of two people have difficulties with fractions.



[Rd] DESCRIPTION/OS_type and OS X
Dirk Eddelbuettel