Is there a simple way to programmatically determine if an R script is being executed in Windows vs. Linux?
if(.Platform$OS.type == "unix") { } else { }
1.4m articles
1.4m replys
5 comments
57.0k users