Difference between revisions of "R organizing data"

From REALab Wiki
Jump to navigation Jump to search
Line 4: Line 4:


====how to make a new script and run commands from it?====
====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. 
To create a script for the attentional blink




====saving workspace images?====
====saving workspace images?====
In addition to saving your commands, you can also save the values of variables

Revision as of 21:59, 27 February 2013

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.

To create a script for the attentional blink


saving workspace images?

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