je rencontre site gratuit Content starts its own page in LaTeX
use \clearpage or \cleardoublepage.
http://tex.stackexchange.com/questions/2958/why-is-newpage-ignored-sometimes
je rencontre site gratuit Content starts its own page in LaTeX
use \clearpage or \cleardoublepage.
http://tex.stackexchange.com/questions/2958/why-is-newpage-ignored-sometimes
BibTeX style file (bst) database.
http://bst.maururu.net/index.php
Nice guide for R graphics
http://blog.revolutionanalytics.com/2009/01/10-tips-for-making-your-r-graphics-look-their-best.html
Repeat the last action in Powerpoint
Ctrl-Y
Perl resources
Perl Training Australia – Perl Tips
http://perltraining.com.au/tips/
Modern Perl
http://onyxneon.com/books/modern_perl/modern_perl_letter.pdf
Treemap in R
1. Portpolio package
Pros: Quick, simple, bigger output
Cons: One color scheme
2. Treemap package
Pros: More customization, several algorithms
Cons: smaller output size
http://cran.r-project.org/web/packages/treemap/treemap.pdf
Remarks:
Index must be factor.
Different types
comp: (size – color) / color
dens: color / size
Makefile to use with Pandoc using pattern rules.
OUTPUT = ../output
%.docx: %.mdown
pandoc -s --biblio bibliography.bib --csl cell.csl -o $(OUTPUT)/$@ $<
%.tex: %.mdown
pandoc -s --biblio bibliography.bib --csl cell.csl -o $(OUTPUT)/$@ $<
Usage:
make introduction.docx
Adapted from
http://stackoverflow.com/questions/6577176/makefiles-and-wildcards
Referring a figure in Pandoc + LaTeX
This will put the label inside of a caption which is recommended.

See figure \ref{mylabel}.
http://stackoverflow.com/questions/9434536/how-do-i-make-a-reference-to-a-figure-in-markdown-using-pandoc
rsync snapshot backup using –link-dest option.
The rsync option –link-dest is very useful for Timemachine like snapshop backup.
It compares the source with the files in the –link-dest then if the files were not changed make a hard link to them. So without using extra drive space, it can keep the snapshop copy.
When the sync source is a Samba drive, sometimes the –link-dest option does not work as expected because of the permission difference, especially the -a (archive) option is used.
The -a option is composite of -rltpgoD options.
By removing the permission (-p) check, if it’s alright, the –link-dest works properly.
rsync -rltgoDvzhH --progress -e ssh --link-dest=/home/user/dest1 source/ dest2/
Customize the color, order and label of the legend in ggplot2
Use scale_colour_manual()
scale_colour_manual(values = c("red", "blue"), breaks = c("S2", "S1"), labels = c("sample1", "sample2"))
http://had.co.nz/ggplot2/scale_manual.html