On 2/22/11 4:54 PM, "Dirk Eddelbuettel" <e...@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


_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to