next_inactive up previous


Getting Started at the Demography Lab

Carl Mason

carlm@demog.berkeley.edu

rev 1.0 Fall 2008


Contents

Introduction

Welcome to the Demography Lab. This document is intended to get you started doing science at the Demography Department.

Getting a userid

If you don't already have a userid and password, then you'll need to find Carl Mason (carlm@demog.berkeley.edu) and give him a signed Statement of Compliance - which you can download from:
http://www.demog.berkeley.edu/DemogLab/statementofcompliance.pdf.

Figuring stuff out

In addition to this woefully inadequate document, you can find out how to do some things and how not to do others by consulting:

  1. The Demography Lab FAQ, www.demog.berkeley.edu/faq.

  2. Any of your new colleagues who might find in or near the computer lab.

  3. The Web. Google for things like ``introduction to Unix'' or ``Unix command line''. There are many different flavors of Unix/Linux but the vast majority of commands work the same way on all of them.

Things to be aware of when logging on to a Linux machine

Once you have a userid and password you can and should logon to a Linux workstation. You can find Linux workstations in both the basement lab and in the Library (the attic). If you are really important, than you might even have an office with a Linux workstation in it. All of the Linux workstations in the building work identically so just choose one with a comfortable chair in front of it.

Logging in is intuitive once you figure out how to turn the monitor on. The custom here is to turn monitors but NOT computers off when not in use.

If you have never used Linux before, it may take a moment to get used to the user interface. The key differences between it and those found on other operating systems are:

  1. With Unix, it is generally more efficient to type commands at the command line (also known as the shell or the terminal window) than it is to just point and click. To launch a terminal window go to: Applications$\rightarrow$System Tools$\rightarrow$Terminal. But don't worry about this too much right away. Linux also has the usual pointy clicky tools such as a filemanager (Places$\rightarrow$Home Folder on the upper task bar).

  2. Selecting and pasting can be done entirely with the mouse. Just select text with the \fbox{\textsc{left button}} and paste it with the \fbox{\textsc{middle button}} . You don't generally use the menus or key combinations - except within certain applications.

  3. The mouse \fbox{\textsc{right button}} generally produces a menu that is vaguely relevant to the place where you are clicking.


Email

Your email address is your-userid@demog.berkeley.edu. If you are a short term visitor to Demography and you already have an email setup that you like, you might just want to forward your @demog.berkeley.edu email to your existing address. This can be accomplished by simply creating a file called .forward in your home directory and making sure that that .forward file contains ONLY the email address to which you would like all of your mail forwarded.

To process email on Demography Lab machines, you can use either alpine (Applications$\rightarrow$Image pineEmail or the email web interface at
www.demog.berkeley.edu/sqmail. The latter is easier, the former more efficient. Alpine is a bit retro in that it's interface does not recognize the mouse. You'll get used it in no time and wonder why you ever use that thing.

It is also possible to configure just about any other email processing program to access your demography email. Details and possibly helpful hints can be found in the FAQ.

Like any modern email system, ours does its best to filter out spam and viruses. The system also allows for a lot of automated email processing as well as automatic .doc $\rightarrow$plain text translation.

The FAQ has more to say about this.



Please do not just ignore your @demog.berkeley.edu mailbox. Even if you can convince most of your colleagues to send email to your current/old email address, Important messages such as system maintenance announcements, department news, and business opportunities in Nigeria will be sent to you@demog.berkeley.edu.


Working remotely

Anything that you can do on a workstation in 2232 Piedmont, you also do from elsewhere in the world. There are no exceptions at least as far as computing is concerned. To continue your demography computing life remotely, you need: a computer with an internet connection (faster is better), X11 server software and a secure telnet program. All of these (except the computer and the internet connection) are obtainable free. The FAQ has details.

Statistical applications

The Demography Lab primarily supports R, Stata, SAS and Matlab. Other less common stat packages might also be available from time to time and if you want to write your own - C++, Fortran, Java, Perl, and Python are readily available. If you can't find a statistical tool you need, ask Carl Mason (carlm@demog.berkeley.edu) about it.

The preferred statistical package in the Demography Dept is R. We will spend a lot of time on it in Demog 213.

Office applications

OpenOffice is the most complete office package that runs natively on our Linux workstations. Applications$\rightarrow$Office$\rightarrow$Word Processor launches OpenOffice Writer. Applications$\rightarrow$Office$\rightarrow$Spreadsheet launches OpenOffice Calc; and Applications$\rightarrow$Office$\rightarrow$Presentation launches OpenOffice Impress. You can also type: oowriter, oocalc or ooimpress at the command line.

Each of these programs is every bit as bad as the Microsoft\textregistered equivalents and each is very good about reading and writing files in the proprietary secret formats the keep Microsoft\textregistered rich.

There are other less fully featured spreadsheet and word processing programs available on the system. You can find them under Applications$\rightarrow$Office.

Naturally we also support and approve of LaTeX. LaTeX is very different way to create documents. It is particularly well suited to the academic world, but it requires some effort to figure it out. We'll introduce it in Demog 213. You'll probably use it to write your dissertation.

If you absolutely must have MSWord/Excel/Powerpoint, we have them too: Applications$\rightarrow$Windows Applications$\rightarrow$Programs. Or type winword, excel or powerpnt at the command line.

But note: these Windows programs are being tricked into running under Linux. They show their disapproval of this by being even quirkier and somewhat more treacherous than usual. Don't use them if you don't have to. Definitely save your work.

About this document ...

Getting Started at the Demography Lab

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 -local_icons introduction

The translation was initiated by Carl Mason -- Director Demography Lab on 2008-08-20


next_inactive up previous
Carl Mason --- Director Demography Lab 2008-08-20