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 { }