set thin=1 in liraOutput.R to avoid crashes on Mac OS X