Which pane in RStudio shows the plots, tables, or HTML output produced by your code?
- Correct: plots, tables, and HTML output, along with files, packages, and help, all appear in the Output pane.
- Wrong: the Environment pane lists the objects in your session, not visual output.
- Wrong: the Console pane shows the results of running code (like printed values), not plots or tables.
- Wrong: the Source pane is where you write and save your scripts, not where output appears.
You loaded a dataset in your script and want to quickly check what columns it has. Which pane lets you do this?
- Wrong: the Output pane is for plots, tables, files, and help, not for browsing loaded objects.
- Correct: the Environment pane lists the objects in your current session, including loaded datasets, and lets you click to preview them.
- Wrong: the Source pane only holds your script text, not the data itself.
- Wrong: the Console only shows what you explicitly print there, it doesn’t browse objects for you.
Why is it recommended to set “Save workspace to .Rdata on exit” to “Never”?
- Wrong: this setting is about R objects in memory, not about saving your script files.
- Correct: starting with a clean environment each time means your script has to (re)create everything it needs, which is what makes it reproducible.
- Wrong: RStudio closes fine either way, this setting only affects what happens to your objects.
- Wrong: startup speed isn’t the reason this is recommended.
What is the main benefit of setting a dedicated default working directory in RStudio?
- Wrong: working directory is about file location, not code structure.
- Correct: a consistent, predictable folder avoids confusion about where files were saved or which version of a dataset got loaded.
- Wrong: working directory location has no effect on execution speed.
- Wrong: RStudio can open scripts regardless of your working directory setting.