Update R writeup