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 { }
2.1m questions
2.1m answers
60 comments
57.0k users