A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Screen

Screen is an interesting command. It can be used to detach a terminal session and reattach it later.

sss -X username@server

screen R ctrl a + d

to detach

screen -r to reattach

Technorati Tags: Linux

Working with ggplot

Hadley Wickham’s ggplot is a very interesting package. It makes beautiful graphics, integrates well with some of the other packages to allow you to superimpose the plots of various types of estimates on plots of data. In particular, it uses colours very well. The default colour schemes are aesthetically pleasing. It allows a flexible use […]

Dropping columns in subset command

Use “select=c(var1,var2)” in the subset command to select var1 and var2.

Use “select=-c(var1,var2)” in the subset command to drop var1 and var2.

Technorati Tags: GNU-R

Page orientation problem in converting postscript files to pdf using ps2pdf

A commonly reported problem with ps2pdf is that it does not always guess the page orientation right.

A neat solution is here http://allendowney.com/essays/orientation/

I just edited the gs_statd.ps to define the wide page and added an alias in my bashrc called widepdf to convert files to pdf in the wide format. It works great now!!

[…]

Statistics on Microsoft Excel

Here is an interesting document on problems of using Microsoft Excel for statistical analysis.

http://gcrc.ucsd.edu/biostatistics/Excel.pdf

Technorati Tags: statistics, excel, microsoft