Using R for Numerical Analysis in Science and Engineering