I use R and RStudio often in my PhD research. I have tutored R dozens of times and am quite acquainted with the widespread Statistics and ML libraries. See Michael's entire profile To avoid wasting our script we navigate for the File menu tab and choose Help you save. Or https://hire-sameone-to-do-r-prog67759.azzablog.com/28217937/5-simple-statements-about-r-programming-project-help-explained