R files with code and notes added