Aside from Carl's answer, the obvious way to make sure your work is platform-independent validation on all platforms.
This is exactly what CRAN does with its 3800+ packages, and you have access to the logs here .
In short, R is really trying hard to be platform independent and basically succeeds. To do this with your code, it's up to you to avoid APIs or tools that introduce dependencies. Look at abstractions such as system.file(package="boot")
and the functions they use --- you can easily abstract the "roots" of the file system, and the delimiters have already taken care.
source share