I didn't know about .Platform$OS.type, but that looks like it would be
the better choice, as the help for Sys.info says "This function is not
implemented on all R platforms, and returns NULL when not available."

--Lee

On Tue, May 10, 2011 at 11:06 PM, Christoph Knapp
<[email protected]> wrote:
> Thanks for that I already came across .Platform$OS.type and use that in my 
> code. It returns "unix" not "Linux" though. Which one would you recommend?

_______________________________________________
R-SIG-Debian mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to