Computer Hints



Links to Resources


SAS on cquest and utstat

An important part of this course is use of the SAS statistical software package. SAS is available to students free of charge on U of T's cquest (undergraduate) and utstat (graduate) computers. Undergraduates should go to the cquest web site immediately to set up their accounts. Graduate students should see Dermot.

utstat runs the unix operating system while cquest runs linux, but for the most part, the differences between linux and unix are just legal, moral and political. That is, they do not matter to most people.

Undergraduates can use SAS in the cquest labs. There are three labs in the Ramsey Wright building (Rooms 211, 107 and 109). See the cquest web site for hours of access. Graduate students have access to utstat through the workstations in their offices.

You can also use SAS over the Internet from home or some other remote location. Undergraduates go to login.cquest.utoronto.ca, while gradiuate students go to www.utstat.toronto.edu. This is convenient, but several issues are involved.

There is a PC version of SAS, and you can get a copy and run it on your own computer if you wish. The SAS Institute makes a lot of money selling its software to big corporations as well as universities, research institutes and so on; SAS is expensive! But U of T has paid them a lot of money for a site license, and you can get your own copy of SAS that locks up on July 1st for $110 a year.

Printing SAS files at home

One way to get a file to your home computer for printing is to email it to yourself. Try
       mail yourname@yourisp.com < fname
where yourname@yourisp.com is your email address and fname is the name of the file, like hw3.lst. There can be trouble with this approach if you use a web-based email program like hotmail or gmail.

A more comprehensive solution is to download and install the free winscp file transfer program.

SSH (Secure Shell)

With an Internet connection, SSH applications give you a text-only connection to cquest, utstat and other unix machines from your home computer. From cquest's prompt, you can run programs such as SAS, R and emacs. SSH is  secure because what you type and see on your screen is encrypted at one end and decrypted at the other end. This prevents hackers from stealing your password as you log on, and also prevents nosy people from spying on the highly sensitive and confidential work you do in your Statistics courses.

Different SSH programs are recommended, depending on the operating system that you are using. To use these programs, you must be connected to the Internet, say with a broadband connnnection or via PPP over your phone line.

In any of these SSH programs, the first time you connect to a host, you will be told that the program can't verify that this host is really what it appears to be. Do you want to trust it? SSH is just being sanely paraniod. Say yes.

Copy-paste in Putty

Suppose you want to transfer fairly small amounts of text between the unix machine and your PC. In a normal Windows application like Explorer or Word, the edit menu has Copy and Paste items -- or you can use control-C and control-V. But PuTTY has no menus, and Control-C and control-V don't do what you might expect, especially if emacs is running. But you can still copy-paste; here's how: