ex 44, 45, 46 , the r code to ex45a is correc but with knitr i get some weird errors.