Email Record: Financial risk modelling and portfolio optimization with R