added R citation generation and R version checking to LoadandCite