moving Katy's R wrapper to tutorials directory