R-alpha: Postscript and .First

Jim Lindsey (jlindsey@luc.ac.be)
Wed, 22 May 1996 10:09:47 +0200 (MET DST)

From: Jim Lindsey <jlindsey@luc.ac.be>
Message-Id: <9605220809.AA15857@alpha.luc.ac.be>
Subject: R-alpha: Postscript and .First
To: r-testers@stat.math.ethz.ch
Date: Wed, 22 May 1996 10:09:47 +0200 (MET DST)

(1) For .First and .Last, what I did was to create a file called .First in
    the directory where I run R (along side .RData). At first, I only put
    the options() command for treatment contrasts in, but when I saw this
    had no effect, I put a print("Hello") command in as well. Then, I also
    checked .Last with a print() command as well. A colleague also checked
    independently on his Linux machine. Have I misunderstood something?
(2) For the convergence criteria in glm(), as I said, it was a quick fix,
    but I tend to side with Martin. I should go back and look how we did
    it in GLIM4.
(3) For factor variables, I like the GLIM4 system, where choosing the baseline
    category is an option and categories are numbered clearly so that no
    mistake can be made about the baseline one because it is missing. It
    is imperative to have a distinction like that, also so that a two level
    factor can be distinguished from a continuous variable. (Both are often
    in the same log linear model at different levels of interaction.) It
    happens that numbering for the mean constraint is fine now, except for
    two levels. As it stands, people are going to make a lot of mistakes of
(4) postscript() does not work properly when more than one file is created
    in a session. The axes are not printed on the second and subsequent files
    because the line
/Helvetica findfont 10 scalefont setfont
    is missing at the beginning of the prolog. This is because two variables
    in devPostScript.c are static ints initialized to zero. The fix is to 
    add two lines at the beginning of PS_Open(void)
fontsize = 0;
fontface = 0;
  Cheers, Jim 
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch