[Rd] DESCRIPTION/OS_type and OS X
edd at debian.org
Sat Sep 12 17:12:33 CEST 2009
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
| On OSX:
| > .Platform$OS.type
|  "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!
Three out of two people have difficulties with fractions.
More information about the R-devel