Q: If you write code directly in the R source editor, RStudio can save your code when you close your current session.
or
Q: When you exit the current session, RStudio can save your code if you write it directly in the R source editor.
- True
- False
Explanation: You have it just correct! When seen in this light, RStudio is rather thoughtful. When you exit the session, the R source editor will often offer you to save your script if you have entered code right in the editor. The next time you open RStudio, you will be able to start up exactly where you left off thanks to this feature. Utilizing this tool can help you prevent losing all of your hard work.