Installation of SAS and related files for the course: ## For use on a home PC or laptop, with SAS installed 0. Download this archive, psy6140.zip, from http://www.psych.yorku.ca/friendly/lab/files/psy6140.zip and save it to a flash drive/usb key, or simply download it from home to your harddisk. 1. Extract all the files in this archive to a directory on your hard disk, for example, c:\sasuser. [Use an unzip program, like WinZip or Zip Central.] The following directories will be created there: data\ macros\ psy6140\ where the psy6140 folder contains all the course examples found on the web and on the Hebb network. 2. The file 'autoexec-614.sas' will be in the root directory, c:\ of your hard disk. Rename this file to 'autoexec.sas'. 3. Open the file 'c:\autoexec.sas' in Notepad (or some other editor that can handle plain text files). If necessary, change the line %let mysasdir = c:\sasuser; so it refers to the actual directory where you extracted the course files. 4. Thereafter, when you start SAS, you should see a message like NOTE: AUTOEXEC processing beginning; file is C:\autoexec.sas and other notes printed when the autoexec.sas file is read. From then on, you can use statements like %include data(baseball); %symbox(data=baseball, var=salary) exactly as in the Hebb lab. ## For use from home, via Web Acadlabs 0. In the Hebb Lab, download psy6140.zip from http://www.psych.yorku.ca/friendly/lab/files/psy6140.zip and save it to your F:\ drive. 1. Use Zip Central *in the Hebb lab* to extract all the files in this archive to your F:\drive. You have to do this step on-campus, because Zip Central is not available on Web Acadlabs. 2. Edit the file 'autoexec-614.sas' *in the Hebb lab* using Notepad, and change the line %let mysasdir = c:\sasuser; to %let mysasdir = F:; 3. EACH time you run SAS via Web Acadlabs, enter and run the following statement: %include 'f:\autoexec-614.sas'; This will make the macros and data directories directly available for the rest of your session. This step cannot be made persistent.