CLiREN-LMS
Introduction to R for Clinical Data Management

Scripts, Console, Environment, and Working Directory

Overview

30-45 minutes Applied Step 1 of 10
Overview

Overview

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