[Rcpp-devel] Ancient Rcpp for OS X on CRAN [Was: Building/linking trouble with cxxfunction()]
Ken.Williams at thomsonreuters.com
Ken.Williams at thomsonreuters.com
Tue Feb 22 23:58:49 CET 2011
On 2/22/11 4:54 PM, "Dirk Eddelbuettel" <edd at debian.org> wrote:
>What is in Sys.info(), particularly fields 1 and 2:
>
>R> Sys.info()[1:2]
> sysname release
> "Linux" "2.6.32-25-generic"
That's probably the right way to do it, as Simon suggested too in the
meantime.
> Sys.info()[1:2]
sysname release
"Darwin" "10.6.0"
>
>
>Else, .Platform() starts with 'Darwin', right?
Nope:
> .Platform[1]
$OS.type
[1] "unix"
--
Ken Williams
Senior Research Scientist
Thomson Reuters
http://labs.thomsonreuters.com
More information about the Rcpp-devel
mailing list