Scripts, Console, Environment, and Working Directory
Overview
Overview
1 / 10
Overview
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.