CLiREN-LMS
Introduction to R for Clinical Data Management

Scripts, Console, Environment, and Working Directory

Key Idea

30-45 minutes Applied Step 1 of 6
Callout

Key Idea

1 / 6
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.