if(getRversion() < "2.14.1") { warning("Your version of R is older than 2.14.1") q() # exit R, with the option to cancel }