Author Archives: pauljohn

About pauljohn

Paul E. Johnson is a Professor of Political Science at the University of Kansas. He is an avid Linux User, an adequate system administrator and C programmer, and humility is one of his greatest strengths.

Rare Events, Bias Corrected Logistic Regression, etc.

I’m copying this to the blog so I can assemble answers here. I expect this could be interesting. Dear R-sig-mixed: I was struck today by the way the Internet has accelerated research. At one time, it might have taken a … Continue reading

Tagged | Comments Off on Rare Events, Bias Corrected Logistic Regression, etc.

R Bioconductor Install (or, where’s my “graph” package?)

Users reported that an R package I use, gRbase, “doesn’t work”. I had to watch them try it and read the error messages. When you try > install.packages(“gRbase”, dep = TRUE) The packages “gRbase” depends on other packages, like “graph”, … Continue reading

Posted in R | Tagged , | Comments Off on R Bioconductor Install (or, where’s my “graph” package?)

Linux create ssh keys

These instructions are for a Linux system, but if you install Git for Windows ( msysgit.github.com), you will receive a shell and terminal capability. Usual ssh-keygen will write to ~/.ssh/id_rsa (creates 2 files). In Linux, ~ means $HOME, usually something … Continue reading

Posted in Linux | Comments Off on Linux create ssh keys

RedHat Security Tightening; Tale of One System

The default RedHat install is possibly more secure than some Linux distributions, but it is also not as tight as we might need. On one KU RedHat system that I did not fine tune–so the default setup was in place–we … Continue reading

Posted in Linux | Comments Off on RedHat Security Tightening; Tale of One System

Emacs settings for Windows and the Rterm problem

Good page: http://cbio.ensmp.fr/~thocking/primer.html Shows how to use .Rprofile and .emacs file. This is the old fashioned way, (setq inferior-R-program-name “/path/to/R”);; I need to return and get this right, once and for all. So I started this page as a reminder … Continue reading

Posted in Uncategorized | Comments Off on Emacs settings for Windows and the Rterm problem

Installing LyX 2.0.5 in Windows, step by step

## Paul E. Johnson <pauljohn at ku.edu> ## 2013-02-09 ## Step by step LyX install Notes ## Test operating system is Windows-7 32 bit virtual machine. ## User making install is NOT a “limited” account. (Recall that ## the limited … Continue reading

Posted in LaTeX/Lyx, Uncategorized, Windoze | Comments Off on Installing LyX 2.0.5 in Windows, step by step

Debian multiarch: Unexpected complication when building amd64 packages: Can’t install!

This is a multiarch issue I had not considered before. Have you seen it? I never wanted to be a “cross compiler”, I really only want to build amd64. But I have some i386 libraries for a particular program (acroread). … Continue reading

Posted in Linux | Tagged , , | Comments Off on Debian multiarch: Unexpected complication when building amd64 packages: Can’t install!

Big LyX Sweave output breakthrough

I’ve tried to set up LyX converters and copiers many times to achieve a particular result. Today I’ve succeeded for the very first time. From a single export, I want pdf output for a lecture article format output for the … Continue reading

Posted in LaTeX/Lyx, R | Comments Off on Big LyX Sweave output breakthrough

Linux: Hiding the “desktop panel” when you want more screen real estate

It wasn’t always the case that the panels and other such devices on the edges of the screen were “always on top” when visible. I hate the current trend of making them “un-cover-upable”. It is very inconvenient to the way … Continue reading

Posted in Linux | Tagged , , | Comments Off on Linux: Hiding the “desktop panel” when you want more screen real estate

Lyx: Customized bullets lists and the Simpsons!

Without further adieu! Working example output: https://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf Lyx file: https://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx Even if you don’t want the Simpsons as your bullets in lists, you might still look this over because it shows how you can put in ANY valid LaTeX symbol … Continue reading

Posted in LaTeX/Lyx | Tagged | Comments Off on Lyx: Customized bullets lists and the Simpsons!