Skip to navigation

Archive for the 'Noobs' Category

How not to ask a question on R-help

Friday, February 12th, 2010

One great way to get help with R is by asking a question on the r-help mailing list. More often than not I have actually figured out the answer simply by typing up the question, because that made me think more clearly about what the problem really was. The people on the list are exceedingly […]

Use R to help with lottery drawing

Thursday, January 7th, 2010

When you start using R, it can be confusing that if you assign something to an object you do not get visual feedback: x x [1] 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 You can exploit this fact for doing a quick-and-dirty lottery. Assume you have a […]

How to use mutt to send individual e-mails to lots of people at once

Wednesday, March 18th, 2009

So, you want to send an e-mail to a list of people, but you don’t want to put them all in the “To:” or the “Bcc:” field of a single mail. You want each person to get an individual e-mail, but with the same subject line and the same content. It’s easy using mutt. Create […]

Running X apps (like zenity) from crontab (solving “cannot open display” problem)

Friday, January 2nd, 2009

I’ve written a small script that checks whether I have queued mail and that displays a notification icon via “zenity –notification” in case I do. I wanted to run it using ~/.crontab but it wouldn’t run. First, I got error messages from the cron daemon that looked like this: (zenity:22981): Gtk-WARNING **: cannot open display: […]

How to add a custom welcome message to your Xubuntu or Ubuntu login screen

Friday, November 28th, 2008

I like the graphical login screen on my laptop to display my e-mail address. In case I lose the laptop and an honest person finds it, they should at least have the possibility to return it. In the latest versions of Ubuntu or Xubuntu, you can change the welcome message via the settings menu for […]