Scripts, Console, Environment, and Working Directory
Key Idea
Callout
1 / 6
Key Idea
Callout
Key Idea
Beginners often confuse four related concepts: scripts, console, environment, and working directory. A script is a saved text file containing commands. The console is where commands run and output appears. The environment is the collection of objects currently stored in memory. The working directory is the folder R uses as the starting point for file paths. Understanding these concepts prevents many early frustrations.