Is there a way I can make an alias, within R, that will execute q() and then restart a clean R session?
q()
And yes, I am too lazy to type q() and then the letter R :)
R
If you're in RStudio: command/ctrl + shift + F10
You can also use
.rs.restartR()
2.1m questions
2.1m answers
60 comments
57.0k users