R organizing data

From REALab Wiki
Jump to navigation Jump to search

Back to R Analysis

Go to Part 1: R basics

Go to Part 3: Analyzing your data

how to make a new script and run commands from it?

When you run commands from the R console, the code completely disappears after closing R. So for any lengthy set of commands, you will want to save your source code in a script. For the following sections, I'd recommend creating a new script for each data set (as well as distinct folders).

To create a script for the attentional blink data set, open R and go to file > new script

saving workspace images?

In addition to saving your commands, you can also save the values of variables