Loading the SSANOVA code into R

There are three ways to load the SSANOVA code into R. Both begin from R's opening prompt:

>

One option is to type in a command like the following and press Enter. (you don't type the >)

> source("C:/Program Files/R/R-2.3.1/ssanovaformantcode.r")

In this case you should replace C:/Program Files/R/R-2.3.1/ssanovaformantcode.r with the location of ssanovaformantcode.txt on your computer.

A second option is go go the the “File” menu and select “Source R code...” Then navigate to where you put ssanovaformantcode.txt, and double-click on it.

A third option is to open the file ssanovaformantcode.txt in a text editor (Notepad, Notepad++, etc.), select all of the text, and copy it to the clipboard. Then go to the R window, and paste the code at the prompt. (If, after doing this, you do not see the > prompt, press Enter once.)

All contents © 2024 Adam Baker, except where otherwise noted.