require(graphics)
R.version$os # to check how lucky you are ...
plot(0) # any plot
mtext(R.version.string, side = 1, line = 4, adj = 1) # a useful bottom-right note
## a good way to detect OS X:
if(grepl("^darwin", R.version$os)) message("running on OS X")
Run the code above in your browser using DataLab