restartSession function

Restart the R Session